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.8

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.8
File Size Uploaded Provenance Actions
djcrud-0.3.8.tar.gz 1.6 MB Without provenance Details for djcrud-0.3.8.tar.gz

Built distribution (wheel)

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

Total release size: 2.3 MB

Release files / djcrud-0.3.8.tar.gz

Download URL djcrud-0.3.8.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
bcf319981d0c2186a468024734d6417a17cfdeb22b7969f9d1699105ce147c4f
BLAKE2b-256 checksum
How to use checksums
4bc47fe2c0293aec209ab7d63f3105c2c3d41fada0a37ec98e596ff2c1022d0d
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.8-py3-none-any.whl

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

Security for djcrud 0.3.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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