Boilerplate generator for django
Project description
dj-generator
A lot of our time we spend on creating CURD in django. This project aims to generate boilerplate code to reduce our valuable time.
The django templating system is pretty powerful. We can make use of the power of templating tool to generate basic CURD given a model.
Assumptions
This project assumes that you follow certain folder structure. That makes this project to stay as simple as possible.
Usage
Pattern -
python manage.py generate app.Model --template power
For example if you run following command -
python manage.py generate testapp.Task --template power
It will create -
- CRUD python files under
testapp/task
folder. - CRUD template files under
testapp/templates/testapp/task
folder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dj-generator-0.0.1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for dj_generator-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 084eb754ab3aab0794233ff061661f09f3d48d3dee3fdb9a3b497a21861d9714 |
|
MD5 | 865eed1e1af74197f68f8af689f91315 |
|
BLAKE2b-256 | 695650dbbad686a01b9a676c94fa029efc29ad2a065191d3a204eeb8099612ba |