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.1.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.1.tar.gz.
File metadata
- Download URL: djang_setup-0.0.1.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 |
18a1299ac9769601e5a7739c32a293cc4c7da11dd854aaa3e32b437cbd8c909b
|
|
| MD5 |
c9c6c17962529edd63855b8178b30dcd
|
|
| BLAKE2b-256 |
efb7823ceccc0fb01d7455da9845fff02ca3ed85156af1899fd76a65d0283f9a
|
File details
Details for the file djang_setup-0.0.1-py3-none-any.whl.
File metadata
- Download URL: djang_setup-0.0.1-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 |
276dabccd11e92f125a8918fa329ab82240a8665da6030965f75a84cefb2cd33
|
|
| MD5 |
e323de074e7e6c0417854a09aa74c9d5
|
|
| BLAKE2b-256 |
3984ddfc3f6bb16c7a03c519ed28e3b4680549c7f3a68119bd86b28075f72e86
|