Skip to main content

django-cruds-mixins

https://badge.fury.io/py/django-cruds-mixins.svg https://travis-ci.org/bmihelac/django-cruds-mixins.svg?branch=master https://codecov.io/gh/bmihelac/django-cruds-mixins/branch/master/graph/badge.svg

EXPRERIMENTAL SOFTWARE! Do not use!

django-cruds-mixins integrates several libraries to enable easy, fast and predicatable creation of admin panels and applications.

Features

  • list, create, update, detail, delete views for your models

  • customizable tables with orderable columns, pagination and automatic links for ForeignKey fields, easily customizable with django-tables2

  • search fiters based on model fields with django-filter

  • permissions creation and integration with django-rules

  • advanced forms with django-crispy-forms

  • selections and bulk actions

  • utils for creating URLconfs, permissions, filtersets, tables

Documentation

The full documentation is at https://django-cruds-mixins.readthedocs.io.

Quickstart

Install django-cruds-mixins:

pip install django-cruds-mixins

Add django-cruds-mixin and related apps to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'rules.apps.AutodiscoverRulesConfig',
    'crispy_forms',
    'django_tables2',
    'cruds',
    'cruds_mixins',
    ...
)

Add the django-rules authentication backend for using permissions.

AUTHENTICATION_BACKENDS = (
    'rules.permissions.ObjectPermissionBackend',
    'django.contrib.auth.backends.ModelBackend',
)

Add django-cruds-mixins’s URL patterns:

from cruds_mixins import urls as cruds_mixins_urls


urlpatterns = [
    ...
    url(r'^', include(cruds_mixins_urls)),
    ...
]

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

Metadata

Release files for django-cruds-mixins 3.0.0

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

Source distribution (sdist)

Source distribution for django-cruds-mixins 3.0.0
File Size Uploaded Provenance Actions
django_cruds_mixins-3.0.0.tar.gz 24.7 kB Without provenance Details for django_cruds_mixins-3.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-cruds-mixins 3.0.0
File Interpreter ABI Platform Actions
django_cruds_mixins-3.0.0-py3-none-any.whl Python 3 none any Details for django_cruds_mixins-3.0.0-py3-none-any.whl

Total release size: 51.8 kB

Release files / django_cruds_mixins-3.0.0.tar.gz

Download URL django_cruds_mixins-3.0.0.tar.gz
Size 24.7 kB
Tags Source
SHA-256 checksum
How to use checksums
279144d507c9abb133d2ff15e608dbe7cb616920fc3362118bae743f463764ed
BLAKE2b-256 checksum
How to use checksums
e9d6e3a9d79f52f430f8a1936a8cc634661d76475faee4a06c75b961dae110a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.4

Release files / django_cruds_mixins-3.0.0-py3-none-any.whl

Download URL django_cruds_mixins-3.0.0-py3-none-any.whl
Size 27.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
888dcf2090c03d02f919d1d73f7eb289feae42d1c343cc7ba9c8f1b4e1794d9b
BLAKE2b-256 checksum
How to use checksums
661a55ea93e709d6b90dfc66b954e3a43cc0c106c28f0bfd516e08cef1560b4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.4

Security for django-cruds-mixins 3.0.0

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