Skip to main content

Django Crud Views

Project description

Django CRUD Views

Tests Lint Coverage PyPI License Docs

Managing CRUD (Create, Read, Update, Delete) operations is a common requirement in Django applications. While Django’s class-based views provide flexibility, implementing CRUD functionality often involves repetitive code.

Django CRUD Views simplifies this process by offering reusable, customizable class-based views that streamline CRUD operations. This package helps developers write cleaner, more maintainable code while keeping full control over their views.

This documentation provides everything you need to get started, from installation to advanced customization. Whether you're building a small project or a large application, Django CRUD Views can help you work more efficiently.

Features

  • a collection of CrudViews for the same Django model whereas these views are aware of their sibling views
  • such a collection is called a ViewSet
  • linking to sibling views is easy, respecting Django's permission system
  • designed for HTML
  • built on top of Django's class-based generic views
  • and Django's permission system
  • uses these excellent packages:
  • ViewSets can be nested with deep URLs (multiple levels) if models are related via ForeignKey
  • CrudViews are predefined for CRUD operations: list, create, update, delete, detail, up/down
  • a ViewSet generates all urlpatterns for its CrudViews
  • Themes are pluggable, so you can easily customize the look and feel to your needs, includes themes
    • bootstrap5 with Bootstrap 5 (default)
    • plain no CSS, minimal HTML and JavaScript (install crud_views_plain to override)
  • Django system checks for configurations to fail early on startup

What it is not

  • a replacement for Django's admin interface
  • a complete page building system with navigations and lots of widgets

Current version

Current version: 0.3.1

Project details


Download files

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

Source Distribution

django_crud_views-0.3.1.tar.gz (587.7 kB view details)

Uploaded Source

Built Distribution

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

django_crud_views-0.3.1-py3-none-any.whl (107.8 kB view details)

Uploaded Python 3

File details

Details for the file django_crud_views-0.3.1.tar.gz.

File metadata

  • Download URL: django_crud_views-0.3.1.tar.gz
  • Upload date:
  • Size: 587.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_crud_views-0.3.1.tar.gz
Algorithm Hash digest
SHA256 d35a8668cfffee17398aafe4b3e3ebfda9e2692568597ff1942c23de1c7fb30b
MD5 f8e68ce6beb980c3d8ab7b4e065dbb3a
BLAKE2b-256 cf7672d45a8e8f7c623803af77a1df69e1ac7a335ec8c366708e88948e6255a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_crud_views-0.3.1.tar.gz:

Publisher: publish.yml on jacob-consulting/django-crud-views

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_crud_views-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_crud_views-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47b88ad92b07891c982f53d5012151399dc54d37d05e76fb639c45b49d73f474
MD5 0cda3e3ff12151bf9421d6ab2973ab0e
BLAKE2b-256 3b0eae6c6c2759b1ebd1c66cd475d698a114945ae1985bd0e8fb59485584847e

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_crud_views-0.3.1-py3-none-any.whl:

Publisher: publish.yml on jacob-consulting/django-crud-views

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page