Django CRUD Generator
This is a simple script to automate CRUD operations based on Base Django by contraslash
Prerequisites:
- You have an existing django project with an app with a model to generate its crud
- You have a template called
base.htmland that template contains a block calledcontent - You have installed Base Django app and is already on
INSTALLED_APPSonsettings.py
Usage:
You should invoque this script using simethin like this
cd your/app/path
python django-crud-generator.py --model_name ModelName
After run the script add a attribute to your model url_name = conf.<MODEL_NAME>_DETAIL_URL_NAME.
Be sure your path/to/application/urls.py is routed by the main urls.py file.
Options:
--model_prefix: Is used to prefix all configuration inconf.pyvariables for urls--url_pattern: Define the url pattern inside theurls.py--create_api: IfTruecreates an api based on Django Rest Framework
Metadata
Release files for django-crud-generator 0.3.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_crud_generator-0.3.10.tar.gz | 7.8 kB | Without provenance | Details for django_crud_generator-0.3.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_crud_generator-0.3.10-py3.6.egg | Legacy Egg format | - | - | Details for django_crud_generator-0.3.10-py3.6.egg |
Total release size: 24.0 kB
Release files / django_crud_generator-0.3.10.tar.gz
| Download URL | django_crud_generator-0.3.10.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ff9f4bc13f113c9cad95ee627d8c779f553ad669fe7d8b4bef255da79ed3d3f
|
|
BLAKE2b-256 checksum How to use checksums |
a81652fd36f9b5b8b91c61ce62ca3da6784187daade498c002eceb19e19c5ff2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Release files / django_crud_generator-0.3.10-py3.6.egg
| Download URL | django_crud_generator-0.3.10-py3.6.egg |
|---|---|
| Size | 16.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
bdc4acc7e5eba985d8f3f87f75b88e078bd5615db11f23640c0a27ffc480240a
|
|
BLAKE2b-256 checksum How to use checksums |
d7f8381a8d01f1e5c42ebde2bebb8fb377c7a07d5bb2d18c93bd7a3c3dbb6280
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Security for django-crud-generator 0.3.10
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.