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.3.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.3.tar.gz.
File metadata
- Download URL: djang_setup-0.0.3.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 |
2d49d19f6da2d880140c0e45e59323988be3f7ff3a403aa1568d613544b2cc86
|
|
| MD5 |
32e45b5742ed1e6566af795cddb0c443
|
|
| BLAKE2b-256 |
c529d8c46ad454341399989de6b5e9b16a9237da21177d547a80ed55dca2d658
|
File details
Details for the file djang_setup-0.0.3-py3-none-any.whl.
File metadata
- Download URL: djang_setup-0.0.3-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 |
60b08281dff2943ac13fb495ac6d975fea0d2b80dba732ef96459cf2531374d8
|
|
| MD5 |
f8a42259725978dbb1a50f00f741dea3
|
|
| BLAKE2b-256 |
eba29840f7972bc68b29b19040dd149f4d78d2d42065a27393268d19e0ed163d
|