Nekmo/django-code-generator
Generate code from your Django models for faster development
Generates Django REST Framework APIs and admin interfaces from model introspection, with extensible template-based code generation supporting custom Django template syntax. The tool operates as a management command that processes Jinja-style templates with access to model metadata (fields, relationships, field types), enabling developers to scaffold boilerplate beyond the included admin and API templates. Custom templates leverage Django's template language and custom tags to introspect model structure and generate contextual code artifacts.
54 stars and 3,092 monthly downloads. No commits in the last 6 months. Available on PyPI.
Stars
54
Forks
10
Language
Python
License
MIT
Category
Last pushed
Mar 17, 2024
Monthly downloads
3,092
Commits (30d)
0
Dependencies
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/Nekmo/django-code-generator"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
inducer/cgen
C/C++ source generation from an AST
westandskif/convtools
convtools is a specialized Python library for dynamic, declarative data transformations with...
pyecore/pyecore
A Python(nic) Implementation of EMF/Ecore (Eclipse Modeling Framework)
mutating/transfunctions
Say NO to Python fragmentation on sync and async
cogu/cfile
A python C code generator