Skip to main content

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, and requirements.txt
  • updates INSTALLED_APPS, DEBUG, ALLOWED_HOST and BASE_DIR
  • creates app_name/urls.py
  • add app_name/urls.py to project_name/urls.py urlpatterns uisng include()
  • update prod settings in prod file
  • update django to use either env.dev or env.prod based on env var

Usage

  1. Set up a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. install the package
pip install djang-setup
  1. run it and follow the prompt
djang-setup

domo

Support

  • Star the project :)

Release files for djang-setup 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djang-setup 0.0.7
File Size Uploaded
djang_setup-0.0.7.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for djang-setup 0.0.7
File Interpreter ABI Platform
djang_setup-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 15.0 kB

Release files / djang_setup-0.0.7.tar.gz

Download URL djang_setup-0.0.7.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2743a08e7ff4eaed0c23a94e80d6676a9b67cb1cece1193af5686709c6ff0c16
BLAKE2b-256 checksum
How to use checksums
0f6e123450135b61b1a15faa3c04f804781a5f5a9e28f8b35abdf3774e5c8da4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.4

Release files / djang_setup-0.0.7-py3-none-any.whl

Download URL djang_setup-0.0.7-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2297d39eb7dc281ee2b3a7f0e9c9df7e67a16daed565492e6d193bc15ab50f4
BLAKE2b-256 checksum
How to use checksums
0ada9a4c99283888d65867b626ef8529b948aba334371a1c4c63c111f8f67e2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page