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 django_setup
- run it
djan_setup
- follow the prompt
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.2.tar.gz
(7.8 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.2.tar.gz.
File metadata
- Download URL: djang_setup-0.0.2.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a743da8f72ca792f504795fc30e77a7db1fab8a566fa1700737a018cd85237c2
|
|
| MD5 |
220eb4df17bc4217d7ca90e5b6e96101
|
|
| BLAKE2b-256 |
e08e1191414af58628ebed607fb4a6eec24235e93c01488a2572fbe160812200
|
File details
Details for the file djang_setup-0.0.2-py3-none-any.whl.
File metadata
- Download URL: djang_setup-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.3 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 |
0ba91ce489e693a471f3b5877890d4b35d74760f5f4cb4516d72ba8bddecb771
|
|
| MD5 |
bd8987aa51d2b560681bab2d36de2599
|
|
| BLAKE2b-256 |
9f163f4049ab1716674d3a98792424292e2eb4b48f9dc7943d027d6e1e4a9566
|