CLI Tool to generate content for all files in a django app directory including all the templates with the help of OpenAI Models
Project description
Assisted Django
A CLI Tool to generate content for all files in a django app directory including templates with the help of openai models
This script would generate the following files for you:
- models.py
- views.py
- urls.py
- admin.py
- tests.py
- forms.py
- signals.py
- HTML templates
Meant to be run after the startapp command
Installation
pip install assisted-django
Usage
- Make a django project and create a new app as usual
- Run
python -m assisted_django
in the same level asmanage.py
CLI
will guide you through the rest of the process
Additional Notes
- Set the
OPENAI_API_KEY
in your.env
file - This script will overwrite the existing app directory files
- The CLI will confirm with the full file path before taking any action
- Write better briefs to get better results
Some More Context
- We prefer class based generic views
- We utilize django-crispy-forms with bootstrap4
- Html templates utilize bootstrap4
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
assisted_django-0.2.4.tar.gz
(14.8 kB
view hashes)
Built Distribution
Close
Hashes for assisted_django-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 586a391de5cd6af3767d5f4dfd10cb430f076636a2f220a861c45ec7df7576ac |
|
MD5 | 9b6da783418ca7b098c4a0d91915f744 |
|
BLAKE2b-256 | ca28dddd529160cb63fcf57b349978a5411cf21b62e423cfcc9e7aaf210e0a38 |