Metadata-Version: 2.1
Name: dj-generator
Version: 0.0.1
Summary: Boilerplate generator for django
Home-page: https://github.com/shimulch/dj-generator
License: MIT
Keywords: django,crud,crud-generator,generator
Author: Shimul Chowdhury
Author-email: shimul@divine-it.net
Requires-Python: >=3.6,<4.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries
Requires-Dist: django (>=3.0.5,<4.0.0)
Project-URL: Repository, https://github.com/shimulch/dj-generator
Description-Content-Type: text/markdown

# 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 -
```sybase
python manage.py generate app.Model --template power
```

For example if you run following command -
```sybase
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.


