Skip to main content

djforge

A small CLI that generates simple Django starter projects. Think of it as a tiny, focused cousin of cookiecutter-django: fewer questions, fewer files, quick output.

Install

pip install djforge

For local development:

pip install -e ".[dev]"

Usage

Create a basic Django project with SQLite:

djforge new mysite --yes

Create an API starter with Django REST Framework:

djforge new myapi --preset api --yes

Create a fuller Docker/PostgreSQL starter:

djforge new myshop --preset fullstack --yes

Use prompts instead of --yes:

djforge new mysite

List available presets:

djforge list-presets

Presets

Preset Database API Docker
minimal SQLite no no
api SQLite yes no
fullstack PostgreSQL yes yes

Generated Project

The generated project includes:

  • manage.py
  • one Django settings module
  • a core app with a JSON health endpoint
  • .env.example and copied .env
  • requirements.txt
  • Makefile
  • pyproject.toml
  • optional DRF, Dockerfile, and docker-compose.yml

Example:

mysite/
├── manage.py
├── requirements.txt
├── Makefile
├── .env.example
├── pyproject.toml
└── mysite/
    ├── settings.py
    ├── urls.py
    ├── asgi.py
    ├── wsgi.py
    └── core/
        ├── apps.py
        ├── urls.py
        ├── views.py
        └── tests.py

Development

python -m pytest -p no:cacheprovider
python -m py_compile djforge\config.py djforge\renderer.py djforge\cli.py

Release

  1. Update version in pyproject.toml and __version__ in djforge/__init__.py.
  2. Add a changelog entry.
  3. Run checks:
python -m pytest tests/test_core.py tests/test_e2e.py -q -p no:cacheprovider
python -m ruff check djforge tests
python -m hatch build

4.Upload only the new version files:

python -m twine upload dist/djforge-0.2.0.tar.gz dist/djforge-0.2.0-py3-none-any.whl

Metadata

Release files for djforge 0.2.0

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

Source distribution (sdist)

Source distribution for djforge 0.2.0
File Size Uploaded
djforge-0.2.0.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for djforge 0.2.0
File Interpreter ABI Platform
djforge-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.8 kB

Release files / djforge-0.2.0.tar.gz

Download URL djforge-0.2.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f1cd48e618355f755d72eafdb1759bd74b27e7fdf340b8d07b89885969e46643
BLAKE2b-256 checksum
How to use checksums
3d53772a4c41f0c4876fc6dfade12be04a94bd0e5fcf6c56ec814833b7ace3ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.

Transparency log

Release files / djforge-0.2.0-py3-none-any.whl

Download URL djforge-0.2.0-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5443179baa808ad75796a8d4c07b28f8eddbf6a4ad64e5fd47268e2411535fe6
BLAKE2b-256 checksum
How to use checksums
3eca752cafebce6e3ada76ae1634571ed2b8ea6f7ff5e1681fc2e1f147e073dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

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