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

Metadata

Release files for djcrud 0.3.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djcrud 0.3.14
File Size Uploaded
djcrud-0.3.14.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for djcrud 0.3.14
File Interpreter ABI Platform
djcrud-0.3.14-py3-none-any.whl Python 3 none any Details

Total release size: 2.3 MB

Release files / djcrud-0.3.14.tar.gz

Download URL djcrud-0.3.14.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
748eb5e8f28967b737dcf982954ee6981883ad6bbceca7c5be1ebcf68531f77b
BLAKE2b-256 checksum
How to use checksums
0e80b81477e7b6fbbbea572e86f1ac4e2179b38736005cf62aaea869ffab7bbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.7

Release files / djcrud-0.3.14-py3-none-any.whl

Download URL djcrud-0.3.14-py3-none-any.whl
Size 666.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbd035f7ac697f655ca3807b4f20657db42fb4fed8d3edba7aeff700022d9509
BLAKE2b-256 checksum
How to use checksums
c446ecaceebebd6ce715e2c9873d36da33a8a45d307beeb1573cd59f7a98fd07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.3.14 This release

2 release files

0.3.11

1 release file

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.1

1 release file

0.2.0

2 release 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