Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_quickstart_setup-0.1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_quickstart_setup-0.1.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file django_quickstart_setup-0.1.1.tar.gz.

File metadata

  • Download URL: django_quickstart_setup-0.1.1.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

Hashes for django_quickstart_setup-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3093cad1490323bd736cb8e6bc18d3d38b3309660456af29b851e47978d45942
MD5 5f2638752c796826a41f313993148cf2
BLAKE2b-256 60ab1fa20263b34d77edb66c6ee7b1993d09e595eb72084de1d5667a8f4114dd

See more details on using hashes here.

File details

Details for the file django_quickstart_setup-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_quickstart_setup-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 80ba8f63e3343ffa21f52102d7cf6faadca07eec5fb49150ac30011ecb26a536
MD5 5e6da33d362d9567bfe2ad0db98573c8
BLAKE2b-256 ec26a0b179cd8dec8c21f679c8d50f8b80f66ac39ce0d1ad0bdbcc6b3ddfd933

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page