Skip to main content

Django full crud!

This package is for you to create a fully automatic CRUD of your models.

Dependencies

Django Build your apps using this app template.

Installation

pip install django-full-crud

Add the following in settings.py:

INSTALLED_APPS = [
    ...
    'django_full_crud',
    ...
]

Features

  • Creation the admin file.
  • Creation the form file.
  • Creation the templates (delete, detail, form and list).
  • Creation the serializer.
  • Creation the views (create, delete, detail, list and update).
  • Creation the viewsets.
  • Creation the init files.

Recommendations

Do not make your init files with strings, the package will not find your models. Make a single file for each class, and import them in the init file.

Getting start

Create a .vscode file at the root of your project, then add a file called "django_full_crud.json".

Add the following to it:

{
    "project_name": "name_of_your_project"
}

After that in need to create your models and add them to init.py. The following commands can be run in the terminal:


python manage.py full_crud nome_app NomeModel

The full_crud runs on the specified model.


python manage.py full_crud nome_app

The full_crud runs ont the specified app.


python manage.py full_crud

The full_crud runs on the project.

Extra configs of django_full_crud.json

You can make extra settings, saying what you want to be generated. By default the values are true, but you can change them in the django_full_crud.json file:

{
    "project_name": "name_of_your_project",
    "make_admins": false,
    "make_admins_init": false,
    // 
    "make_forms": false,
    "make_forms_init": false,
    // 
    "make_serializers": false,
    "make_serializers_init": false,
    // 
    "make_templates": false,
    // 
    "make_views": false,
    "make_views_init": false,
    // 
    "make_viewsets": false,
    "make_viewsets_init": false
}

Metadata

Release files for django-full-crud 0.3

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-full-crud 0.3
File Size Uploaded Provenance Actions
django_full_crud-0.3.tar.gz 15.9 kB Without provenance Details for django_full_crud-0.3.tar.gz

Release files / django_full_crud-0.3.tar.gz

Download URL django_full_crud-0.3.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
95ae7a77966ac49d92171e4994d6a04c609efbd225ae729694d29faa3f03ba32
BLAKE2b-256 checksum
How to use checksums
49e98c8fe9f63b3c5148f171e2c360e9bf76d86cb4be1aa42b94c91498e2fac1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.12

Security for django-full-crud 0.3

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