create-django-app
Even though I rarely create new django apps from scratch, I still don’t like initial procedure of creating it, too much steps that can be automated. That’s the purpose of this tool.
What this script does:
Creates Django project
Creates corresponding apps
Creates initial virtualenv (venv)
Installs provided dependencies
Creates initial requirements.txt
Initializes git repository
Runs initial migration (using sqlitedb)
Creates superuser
Shows created application in browser
Download and run the script:
Python version:
Download it from PyPi:
pip3 install create-django-app --user
Usage:
# show help
create-django-app --help
# create django project
create-django-app -p test_project -a 'test_app1 test_app2' -d requests
# create project without admin user with --noadmin flag
create-django-app -p test_project -a 'test_app1 test_app2' -d requests --noadmin
# don't run server in the end with --nodemo flag
create-django-app -p test_project -a 'test_app1 test_app2' -d requests --nodemo
Bash version:
DEPRECATED: this script does not recieve same updates as the python package, buy still gets the job done. You can download it via wget/curl/whatever you prefer:
curl -O https://raw.githubusercontent.com/arsenlosenko/create-django-app/master/create-django-app.sh
After that give it executable permission:
chmod +x create-django-app.sh
And run it:
./create-django-app.sh -d foo_project -a 'foo_app bar_app' -d 'requests'
Show help:
./create-django-app.sh
Metadata
Release files for create-django-app 0.0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| create-django-app-0.0.9.1.tar.gz | 3.5 kB | Without provenance | Details for create-django-app-0.0.9.1.tar.gz |
Release files / create-django-app-0.0.9.1.tar.gz
| Download URL | create-django-app-0.0.9.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dec66b9c03b959bac6576fd7eabeb5a5754c5f26c419d8cca46b45c16fc8b183
|
|
BLAKE2b-256 checksum How to use checksums |
c97d26efc1abb85153bad0a29bdb18b87cb0650d4abb06a22726b2ae1a0a9765
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.2
|
Security for create-django-app 0.0.9.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.