Skip to main content

djcrud

Faster Django development by getting more out of less.

djcrud is a thin MVC layer on top of Django. Declare routers and views in code, get secure CRUD and routing by default, and expose the view object directly to templates.

Read the philosophy for the full rationale.

Install

pip install --pre djcrud

Note: The --pre flag is required for pre-release dependency versions.

See installation for setup, or try the demo to explore the example project.

Quick start

# myapp/djcrud.py
import djcrud

from .models import YourModel


class YourModelRouter(djcrud.ModelRouter):
    model = YourModel


djcrud.site.routes.append(YourModelRouter)
# urls.py
import djcrud

urlpatterns = djcrud.site.build().urlpatterns

Add myapp to INSTALLED_APPS. build() autodiscovers each app's djcrud.py (like Django admin) — the import runs routes.append() before the route registry is built.

Documentation

Contributing

See the contributing guide for development setup, running tests, updating documentation screenshots, and JavaScript conventions. Source: docs/contributing.rst.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djcrud-0.3.8.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djcrud-0.3.8-py3-none-any.whl (666.4 kB view details)

Uploaded Python 3

File details

Details for the file djcrud-0.3.8.tar.gz.

File metadata

  • Download URL: djcrud-0.3.8.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.7

File hashes

Hashes for djcrud-0.3.8.tar.gz
Algorithm Hash digest
SHA256 bcf319981d0c2186a468024734d6417a17cfdeb22b7969f9d1699105ce147c4f
MD5 d0cefd9f780177cd8c70629ac791d45d
BLAKE2b-256 4bc47fe2c0293aec209ab7d63f3105c2c3d41fada0a37ec98e596ff2c1022d0d

See more details on using hashes here.

File details

Details for the file djcrud-0.3.8-py3-none-any.whl.

File metadata

  • Download URL: djcrud-0.3.8-py3-none-any.whl
  • Upload date:
  • Size: 666.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.7

File hashes

Hashes for djcrud-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 103c8a65686d86e0b56f6b5e4429340197ea8a6bf448f8b582c39509909e0013
MD5 2b85e1e53e8b76038b371d2d2d9c8506
BLAKE2b-256 cb35c8ffb1d4b4cd1ce315b65be1691fb4db767aaaaf3d5e5c0c83f7fb4128da

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.14

2 files

0.3.13

2 files

0.3.12

2 files

0.3.11

1 file

0.3.10

2 files

0.3.9

2 files

This release

0.3.8 This release

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.1

1 file

0.2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page