LogoTemplateFame
  • Category
  • Blog
  • Pricing
  • Submit
LogoTemplateFame

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates

LogoTemplateFame

TemplateFame - Popular Templates Directory

X (Twitter)
Made with❤️byHyhor
Product
  • Submit
  • Pricing
  • Category
Explore
  • Tag
  • Blog
  • Collection
Contact
  • Twitter
  • Email
More
  • About Us
  • Privacy Policy
  • Terms of Service
  • Sitemap
Copyright © 2026 All Rights Reserved.

Quick Links - Explore more trending templates

  • Product Templates
  • Business Templates
  • Landing Templates
  • Notion Templates
  • Blog Templates
  • Portfolio Templates
  • E-commerce Templates
  • Dashboard Templates
  • Services Templates
  • Agency Templates
  • Coming Soon Templates
  • Boilerplate Templates
  • Directory Templates
  • Documentation Templates
  • Photography Templates
  • Personal Templates
  • Admin dashboard Templates
  • AI Templates
  • Mobile Templates
  • Cross-platform Templates
  • Microservice Templates
  • WordPress Templates
  • HTML Templates
  • Shopify Templates
  • CMS Templates
  • Emails Templates
  • Newsletter Templates
  • Notifications Templates
  • Payments Templates
  • SEO Templates
  • Animations Templates
  • UI/UX Templates
  • Other Templates
Featured on ProductFameFeatured on toolfame.comFeatured on saasfame.comFeatured on aitoolfame.comFeatured on directoryfame.comFeatured on Startup FameListed on Turbo0Featured on Twelve ToolsFeatured on Wired BusinessFeatured on Findly.tools
  1. Home
  2. Category
  3. Django Base Site
icon of Django Base Site

Django Base Site

The Django Base Site is a Django site that is built using the best Django practices and comes with all the common Django packages that you need to jum...

Visit Website
image of Django Base Site
Visit Website

Introduction

The Django Base Site is an opinionated starter template designed to accelerate new Django projects. Lovingly maintained for over twelve years, it incorporates best practices and essential tools to save days of mundane setup, enabling rapid deployment to production.

✨ Key Features

🧑‍💻 Best Practices:

  • Environs: For managing environment variables.
  • Docker: Docker Compose for development and a multi-stage Dockerfile for production-ready images.
  • UV: Efficiently maintains Python requirements.
  • Just: A popular tool for running common commands (similar to Make).
  • Logging: Uses python-json-logger and readable-log-formatter for better log parsing.

📦️ Django Packages:

  • Django 5: The latest version of the framework.
  • Celery: For running asynchronous background tasks.
  • Custom User Model: Easily extendable user model.
  • Django Allauth: Comprehensive authentication workflows.
  • Django Crispy Forms: Helpers for working with Django forms.
  • Django Alive: Simple health check package.
  • Django Maintenance Mode: For managing site maintenance.

🔧 Python Testing Tools:

  • Pytest: The most popular Python test runner.
  • Pytest Django: A Django plugin for Pytest.
  • Pytest-cov: Adds code coverage to tests.
  • Model Bakery: Faster creation of model instances for tests.
  • Django Test Plus: Helper functions for writing tests.

🩺 Code Quality, Formatting, and Linting Tools:

  • Ruff: Lightning-fast Python formatting and linting (written in Rust).
  • Mypy: Python static type checking.
  • dj Lint: Automatic Django HTML template formatting and linting.
  • Django Debug Toolbar: For debugging and optimizing Django queries.
  • Stylelint: Automatic Sass formatting and linting.
  • Eslint: Automatic JavaScript formatting and linting.

💄 Frontend:

  • Bootstrap 5: A popular UI framework.
  • Vite: A fast frontend build tool.

📝 Documentation:

  • MkDocs: For project documentation.
  • MkDocs Material: A beautiful theme for MkDocs.
  • mkdocstrings: Builds documentation from Python docstrings.
  • mkdocs-include-markdown-plugin: Includes documentation from other files.
  • mkdocs-linkcheck: Automatic link checking.
Installation

Requirements: Ensure Docker and Just are installed.

Quickstart Install Script:

bash <(curl -s https://raw.githubusercontent.com/epicserve/django-base-site/main/scripts/start_new_project)

This script customizes your project setup. After running, navigate to your project directory and start Docker Compose with just start.

Manual Installation:

$ curl -LOk https://github.com/epicserve/django-base-site/archive/main.zip && unzip main
$ mv django-base-site-main example
$ cd example
$ export SECRET_KEY=$(python -c "import random; print(''.join(random.SystemRandom().choice('abcdefghijklmnopqrstuvwxyz0123456789%^&amp;*(-_=+)') for i in range(50)))")
$ cat > .env <<EOF
DEBUG=on
SECRET_KEY='$SECRET_KEY'
DATABASE_URL=postgres://postgres:@db:5432/postgres
INTERNAL_IPS=127.0.0.1,0.0.0.0
EOF
$ just remove_extra_files
$ find ./public -name ".keep" | xargs rm -rf
$ just start
Usage

The project includes Just recipes for common development tasks. Run just in the root directory for a full list. Common commands include build_assets, clean, collectstatic, format, lint, upgrade_python_requirements, open_coverage, start, start_with_docs, stop, and test.

Deploying to Production

The Django Base Site is production-ready with a multi-stage Dockerfile (config/docker/Dockerfile.web). A blog post details its use with fly.io, and contributions for other PaaS providers are welcome.

Contribute
  1. Look for or create an issue.
  2. ...
Back

Information

  • Publisher
    Hyhor
  • Websitegithub.com
  • Published date2025/11/16

Categories

  • Boilerplate
  • CMS
  • Documentation

Tags

  • Python
  • django
  • Docker
  • Bootstrap
  • Authentication
image of ShipAny
Sponsored
AIBoilerplateAdmin dashboard

ShipAny

ShipAny is a development framework for building AI SaaS, with rich built-in functional modules and business components, helping you quickly launch your website.

More Products

image of Mkdirs
Featured
DirectoryBoilerplateAI
Visit Website

Mkdirs

Details

The best directory boilerplate, packed with AI, Listings, Payment, Submission, CMS, Blog, Authentication, Newsletter, SEO, Themes and more.

nextjsshadcnTailwindAuthentication
image of Nexty.dev
Featured
BoilerplateAIBusiness
Visit Website

Nexty.dev

Details

Build your SaaS in days with Nexty - the complete Next.js SaaS template includes auth, payments, AI, CMS, and everything you need to start earning immediately.

nextjsTypeScriptTailwindAuthenticationVercel
image of NextDevKit
Featured
BoilerplateProductCross-platform
Visit Website

NextDevKit

Details

Build and deploy production-ready SaaS apps faster with NEXTDEVKIT. Full-stack OpenNext & Next.js Template or Boilerplate with auth, payments, databas...

nextjsTypeScriptTailwindAuthenticationshadcn