A CLI tool to set up Django projects for you
Project description
Django Setup
A cli tool to setup django for you
Features
- install django if not already installed
- creates django project
- creates django app
- creates settings folder
- creates settings files:
base.py,developmemt.py,production.py - creates
.gitignore,.env.dev,.env,prod, andrequirements.txt - updates
INSTALLED_APPS,DEBUG,ALLOWED_HOSTandBASE_DIR - creates
app_name/urls.py - add
app_name/urls.pytoproject_name/urls.pyurlpatterns uisnginclude() - update prod settings in prod file
- update django to use either env.dev or env.prod based on env var
Usage
- Set up a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- install the package
pip install djang-setup
- run it and follow the prompt
djang-setup
Support
- Star the project :)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
djang_setup-0.0.7.tar.gz
(7.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file djang_setup-0.0.7.tar.gz.
File metadata
- Download URL: djang_setup-0.0.7.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2743a08e7ff4eaed0c23a94e80d6676a9b67cb1cece1193af5686709c6ff0c16
|
|
| MD5 |
3b93eef56d3e519c83b2988b5ec9d1e8
|
|
| BLAKE2b-256 |
0f6e123450135b61b1a15faa3c04f804781a5f5a9e28f8b35abdf3774e5c8da4
|
File details
Details for the file djang_setup-0.0.7-py3-none-any.whl.
File metadata
- Download URL: djang_setup-0.0.7-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2297d39eb7dc281ee2b3a7f0e9c9df7e67a16daed565492e6d193bc15ab50f4
|
|
| MD5 |
508a4ea003a4128370effa9d64c2386a
|
|
| BLAKE2b-256 |
0ada9a4c99283888d65867b626ef8529b948aba334371a1c4c63c111f8f67e2f
|