🚀 Django Kickstart
Scaffold production-ready Django projects in seconds.
Skip the boilerplate. Start building.
✨ Features
- Two project types: MVP (traditional Django with templates) or API (Django REST Framework)
- View style choice: Function-Based Views (FBV) or Class-Based Views (CBV)
- Database options: SQLite (dev) or PostgreSQL (production)
- Docker support: Optional
--dockerflag generates a production-readyDockerfile,docker-compose.yml, andentrypoint.sh - Auto virtual environment: Creates a venv and installs dependencies automatically
- Production-ready settings: Security hardened, environment variables via
python-decouple - Admin panel: Enabled and configured out of the box
- URL routing: Fully wired with app URLs included
- Example model:
Itemmodel with admin registration, tests, and views - Beautiful starter templates: Modern CSS with responsive layout (MVP only)
- DRF browsable API: Auto-configured with pagination and permissions (API only)
📦 Installation
pip install django-kickstartx
🚀 Quick Start
Interactive mode (guided prompts)
django-kickstart create myproject
Flag mode (one-liner)
# MVP with function-based views + SQLite
django-kickstart create myproject --type mvp --views fbv --db sqlite
# REST API with class-based views + PostgreSQL
django-kickstart create myproject --type api --views cbv --db postgresql
# Any project with Docker support
django-kickstart create myproject --type api --views fbv --db postgresql --docker
After creating your project
A virtual environment is created automatically with all dependencies installed.
cd myproject
# Activate the virtual environment
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activate
cp .env.example .env
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Tip: Use
--no-venvto skip automatic virtual environment creation.
With Docker
If you used --docker, skip the venv entirely and use Compose:
cd myproject
cp .env.example .env
docker compose up --build
Once the containers are running:
docker compose exec web python manage.py createsuperuser
Note: For PostgreSQL projects, the
webcontainer waits for the database to pass its health check before running migrations automatically.
🔧 Options
| Flag | Choices | Default | Description |
|---|---|---|---|
--type |
mvp, api |
interactive | MVP (templates) or API (DRF) |
--views |
fbv, cbv |
interactive | Function or class-based views |
--db |
sqlite, postgresql |
interactive | Database backend |
--app |
identifier | core |
Name of the starter Django app |
--no-venv |
— | false |
Skip automatic virtual environment creation |
--docker |
— | false |
Add Docker configuration (Dockerfile, docker-compose.yml, .dockerignore, and entrypoint.sh) |
📁 Generated Structure
MVP Project
myproject/
├── venv/ # Auto-created virtual environment
├── manage.py
├── requirements.txt
├── .env.example
├── .gitignore
├── myproject/
│ ├── settings.py # Security, DB, static/media config
│ ├── urls.py # Admin + core app wired
│ ├── wsgi.py
│ └── asgi.py
├── core/
│ ├── migrations/
│ │ └── 0001_initial.py # Ready-to-run initial migration
│ ├── admin.py # Item model registered
│ ├── models.py # Example Item model
│ ├── views.py # FBV or CBV
│ ├── urls.py
│ ├── forms.py # ModelForm
│ ├── tests.py
│ └── templates/core/
│ ├── base.html
│ ├── home.html
│ └── about.html
└── static/css/
├── tokens.css # OKLCH design tokens (Cobalt theme)
└── style.css # Hallmark anti-slop starter stylesheet
API (DRF) Project
myproject/
├── venv/ # Auto-created virtual environment
├── manage.py
├── requirements.txt
├── .env.example
├── .gitignore
├── myproject/
│ ├── settings.py # DRF + CORS config included
│ ├── urls.py # Admin + /api/ router
│ ├── wsgi.py
│ └── asgi.py
└── core/
├── migrations/
│ └── 0001_initial.py # Ready-to-run initial migration
├── admin.py
├── models.py
├── serializers.py # DRF ModelSerializer
├── views.py # @api_view or ModelViewSet
├── urls.py # DRF Router or explicit paths
└── tests.py
With --docker (additional files)
myproject/
├── Dockerfile # python:3.12-slim-bookworm, no-cache pip install
├── docker-compose.yml # web service (+ db service for PostgreSQL)
├── .dockerignore
└── entrypoint.sh # Waits for DB (PostgreSQL) and runs migrations automatically
🤔 What's Included?
Settings Highlights
SECRET_KEYloaded from.envDEBUGandALLOWED_HOSTSfrom environment- Pre-configured password validators
- Static & media file configuration
- Production security settings (commented, ready to uncomment)
- Login/logout redirect URLs
MVP Extras
- Django HTML templates with
{% block %}structure - Clean starter CSS with responsive grid
- ModelForm with widget customization
API Extras
- Django REST Framework with pagination
django-cors-headersconfigureddjango-filterincluded in requirements- DRF browsable API at
/api/
📄 License
MIT © 2026
🤝 Contributing
- Fork the repo
- Create a feature branch:
git checkout -b feature/my-feature - Commit:
git commit -m 'Add my feature' - Push:
git push origin feature/my-feature - Open a Pull Request
🌟 Star this project
If Django Kickstart saved you time, give it a ⭐ on GitHub!
Metadata
Release files for django-kickstartx 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_kickstartx-1.2.0.tar.gz | 32.3 kB | Without provenance | Details for django_kickstartx-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_kickstartx-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for django_kickstartx-1.2.0-py3-none-any.whl |
Total release size: 69.2 kB
Release files / django_kickstartx-1.2.0.tar.gz
| Download URL | django_kickstartx-1.2.0.tar.gz |
|---|---|
| Size | 32.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfe10cef93084ee647a491a166208385641bf275fa89ea8d26f05ba2eb9be5b1
|
|
BLAKE2b-256 checksum How to use checksums |
6d350f4b82c0837c4d83b4c037cb1f87d429dc93b0e3bb59b5dd6bd1ac3da0b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.5
|
Release files / django_kickstartx-1.2.0-py3-none-any.whl
| Download URL | django_kickstartx-1.2.0-py3-none-any.whl |
|---|---|
| Size | 36.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a8d0e5f2f86796f9e13f26f5c00db0b9989c571dade42d5f242f209b7e29791
|
|
BLAKE2b-256 checksum How to use checksums |
a15907ca926afcdc9033397214e7c090e5815a3fe0f922681b0e1e1141da8274
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.5
|
Security for django-kickstartx 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.