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 details)
Built Distribution
File details
Details for the file dj-generator-0.0.1.tar.gz
.
File metadata
- Download URL: dj-generator-0.0.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.6.6 Darwin/18.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21ff7fae08d2c039b432e1e96a2d8011065722cbd814fb74899ca5492249e2f3 |
|
MD5 | a09ae362895d732aab39845256e3399c |
|
BLAKE2b-256 | b2da4e68418882caf289399c273255cc22ac9f233238df685c920f575573662b |
File details
Details for the file dj_generator-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: dj_generator-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.6.6 Darwin/18.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 084eb754ab3aab0794233ff061661f09f3d48d3dee3fdb9a3b497a21861d9714 |
|
MD5 | 865eed1e1af74197f68f8af689f91315 |
|
BLAKE2b-256 | 695650dbbad686a01b9a676c94fa029efc29ad2a065191d3a204eeb8099612ba |