A utility to quickly set up Django projects with best practices
Project description
Django Project Setup
A utility to quickly set up Django projects with best practices and common configurations.
Features
- Creates a virtual environment
- Installs Django and dependencies
- Sets up a new Django project with app
- Configures static and media files
- Sets up basic URL routing
- Creates a sample template
- Configures development settings
Installation
pip install django-project-setup
Usage
After installation, you can use the command:
django-setup
The script will prompt you for:
- Virtual environment name
- Project name
- App name
Project Structure
The script creates a Django project with the following structure:
project_name/
├── project_name/
│ ├── __init__.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
├── app_name/
│ ├── __init__.py
│ ├── admin.py
│ ├── apps.py
│ ├── models.py
│ ├── tests.py
│ ├── views.py
│ └── urls.py
├── templates/
│ └── app_name/
│ └── index.html
├── static/
└── media/
License
MIT License
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 django_quickstart_setup-0.1.0.tar.gz.
File metadata
- Download URL: django_quickstart_setup-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bf812435420730e22b9cbce3a0e20622463dc095836561174d11da8dbca6e79
|
|
| MD5 |
0dc62b05d5ba8485f2703e9a01b01053
|
|
| BLAKE2b-256 |
f87c89fb709f77552620e2173a64da75614aee03d8efe769af99505f0e3bc66e
|
File details
Details for the file django_quickstart_setup-0.1.0-py3-none-any.whl.
File metadata
- Download URL: django_quickstart_setup-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e72d6a39965b87d5a6ce6d0a87c10c03448547a0073d623b3b7ef0387e110680
|
|
| MD5 |
ec05ae664922a4de44cdb581d5e57b7c
|
|
| BLAKE2b-256 |
b1811037a4e148f1635ac6ad8c7385a81c19bfa066eb610b20429c39a542f63e
|