LogoA Template
icon of Django Base Site

Django Base Site

Django Base Site is an opinionated starter template with best practices and common packages to jump-start new Django projects.

Introduction

Django Base Site

The Django Base Site is an opinionated starter template designed to accelerate the development of new Django projects. It incorporates best practices, modern tooling, and pre-configured packages to save developers time and effort.

Key features include:

  • Best Practices: Incorporates recommended configurations and project structure.
  • Docker Support: Uses Docker and Docker Compose for easy development and production deployment.
  • JSON Logging: Configured for structured logging using JSON for better parsing and analysis.
  • Testing Tools: Includes pytest, pytest-django, pytest-cov, Model Bakery, and Django Test Plus for comprehensive testing.
  • Code Quality Tools: Integrates Ruff, Mypy, djLint, Stylelint, and Eslint for code formatting, linting, and type checking.
  • Frontend Integration: Uses Bootstrap 5 and Vite for modern frontend development.
  • Documentation: Uses MkDocs for documentation, with Material theme and plugins.

Use cases:

  • Quickly starting new Django projects with a solid foundation.
  • Enforcing consistent coding standards and project structure across teams.
  • Simplifying deployment to production environments.
  • Providing a learning resource for Django best practices.
A template
Copy badages awards

Newsletter For Templates

Join the Community For Templates

Subscribe to Templates newsletter for the latest news and updates