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_djangoin the same level asmanage.py CLIwill guide you through the rest of the process
Additional Notes
- Set the
OPENAI_API_KEYin your.envfile - 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
Release files for assisted-django 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| assisted_django-0.2.7.tar.gz | 14.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| assisted_django-0.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.3 kB
Release files / assisted_django-0.2.7.tar.gz
| Download URL | assisted_django-0.2.7.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f579a7d2f6b2b9690511247f8a257816b42fcad88a6d866b5faf880776a87f60
|
|
BLAKE2b-256 checksum How to use checksums |
350aa4e183718e120b7e30e853ca0ee418db07b3c9f2565c04379ade32ce221c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.13 Windows/10
|
Release files / assisted_django-0.2.7-py3-none-any.whl
| Download URL | assisted_django-0.2.7-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98444bf8334b76a1bf9f315188f170ed50b8457fb7b705ede918dcd92f8ac558
|
|
BLAKE2b-256 checksum How to use checksums |
de8ac74859a99cd7eb16fc36b12d5a8ab89023372d0ac3ec41a96cf10e0706cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.13 Windows/10
|