DEV Community

Cover image for Django Boilerplate
Sm0ke
Sm0ke

Posted on β€’ Edited on

112 19

Django Boilerplate

Hello Coders,

In this article, I will present a short-list with open-source Django Boilerplate Code which might help you start fast a new Django project by reusing some valuable work provided by open-source enthusiasts.

For newcomers, Django is an opinionated framework that provides a complete set of tools for web development, from URL routing to form handling and user authentication. It promotes best practices in web development through its structure and conventions, encouraging developers to write maintainable and scalable code.

Thanks for reading! - Content provided by App Generator.


Django Datta Able

Open-source Django project crafted on top of Datta Able Dashboard, an open-source Bootstrap design.
The product is designed to deliver the best possible user experience with highly customizable feature-rich pages.


  • Simple, Easy-to-Extend Codebase
  • Datta Able Design Integration
  • Dynamic Tables - generate data tables without coding
  • Dynamic API - expose secure APIs without coding
  • CLI for Coding Tasks
    • Commit/rollback Git Changes
    • Backup & restore DB
    • Interact with Django Core via CLI
    • Update Environment variables
    • Update Dependencies
  • Bootstrap 5 Styling
  • Session-based Authentication, Password recovery
  • DB Persistence: SQLite (default), can be used with MySql, PgSql
  • Docker, CI/CD for Render
  • Vite for assets management

Django Datta Able - Open-Source Django Starter


Django Rocket

Open-source Django Template styled with Tailwind CSS and Flowbite.The product is designed to deliver the best possible developer experience with highly customizable feature-rich pages.

A common set of features is provided out-of-the-box: API, DataTables, Charts, Extended User Model, and Docker Support under a permissive MIT License (unrestricted usage in hobby or commercial projects).


  • Styling: Tailwind CSS/Flowbite
  • Extended User Model
  • Charts via ApexJS
  • Dynamic Tables - generate data tables without coding
  • Dynamic API - expose secure APIs without coding
  • Can be used with SQLite, MySql, PostgreSQL, MsSql
  • Docker
  • CI/CD Integration with Render

Django Rocket - Open-Source Django Starter styled with Tailwind


Django AdminLTE

Open-source Django project crafted on top of AdminLTE, an open-source and iconic Bootstrap design.
The product is designed to deliver the best possible user experience with highly customizable feature-rich pages.

Django AdminLTE - Open-Source Django Starter


Django Material Kit

Designed for those who like bold elements and beautiful websites, Material Kit 2 is ready to help you create stunning websites and web apps. Material Kit 2 is built with over 60 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining.

Material Kit - Starter generated by AppSeed.


Django Dashboard Material

Material Dashboard is a free Material Bootstrap 4 Admin with a fresh, new design inspired by Google's Material Design. Material Dashboard comes with 5 color filter choices for both the sidebar and the card headers (blue, green, orange, red and purple) and an option to have a background image on the sidebar.

Django Dashboard Material


Django Boilerplate Soft UI

Open-source Django Dashboard crafted on top of Soft UI Dashboard, an open-source Bootstrap 5 design from Creative-Tim.

Soft UI Dashboard is built with over 70 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining.

Django Boilerplate Soft UI - Free Template.


Django Black Dashboard

Black Dashboard is a beautiful Bootstrap 4 Admin Dashboard with a huge number of components built to fit together and look amazing. It combines colors that are easy on the eye, spacious cards, beautiful typography, and graphics.

Black Dashboard - Full-Stack Starter generated by AppSeed.


Cookiecutter Django

This popular Django starter is powered by Cookiecutter a command-line utility that creates projects from project templates.

Features

  • Django LTS / Python3
  • Theme-able
  • Deployment scripts: Heroku, PythonAnywhere

DjangoX

A framework for launching new Django projects quickly. It comes with a custom user model, email/password authentication, options for social authentication via Google/Facebook/Twitter/etc, and static assets.

DjangoX - A framework for launching new Django projects quickly.

Starter Stats

  • Stars (570), Forks (105)
  • License MIT

Features

  • For Django 2.2 and Python 3.7
  • Modern virtual environments with pipenv
  • Styling with Bootstrap v4.1.3
  • Custom user model
  • Email/password for log in/sign up instead of Django's default - username/email/password pattern
  • Social authentication via django-allauth
  • django-debug-toolbar

Django Hackathon Starter

A boilerplate application for Django web applications.

Starter Stats

  • Stars (1.4k), Forks (272)
  • License MIT

Features

  • User Registration
  • Integration with Django Rest Framework
  • Basic Authentication with username and password
  • OAuth 1.0a, OAuth 2.0 (Github, LinkedIn, Instagram)
  • API Examples (Github, LinkedIn, Instagram)

Django React Boilerplate

Starter Stats

  • Stars (700), Forks (152)
  • License MIT

Features

A Django project boilerplate/template with lots of state of the art libraries and tools like:

  • React, for building interactive UIs
  • django-js-reverse, for generating URLs on JS
  • Bootstrap 4, for responsive styling
  • Webpack, for bundling static assets
  • Celery, for background worker tasks
  • WhiteNoise with brotlipy, for efficient static files serving
  • Free support via Github and Commercial for custom projects

Django Gentelella Template

A simple and popular Django starter with Gentelella UI Kit integrated.

Starter Stats

  • Stars (270), Forks (129)
  • License MIT

Features

  • Basic Authentication (username and password)
  • SQLite database
  • Simple structure, suitable for beginners

Thanks for reading! For more resources, feel free to access:

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (8)

Collapse
 
sobolevn profile image
Nikita Sobolev β€’

You forgot to mention github.com/wemake-services/wemake-... !

Features

GitHub logo wemake-services / wemake-django-template

Bleeding edge django template focused on code quality and security.

wemake-django-template

wemake.services Awesome Build Status Documentation Status Dependencies Status wemake-python-styleguide

Bleeding edge django2.2 template focused on code quality and security.


Purpose

This project is used to scaffold a django project structure Just like django-admin.py startproject but better.

Features

Installation

Firstly, you will need to install dependencies:

pip install cookiecutter jinja2-git

Then, create a project itself:

cookiecutter gh:wemake-services/wemake-django-template

Who are using this template?

If you use our template, please add yourself or your company in the list.

We offer free email support for anyone who is using this If you have any problems or questions,…

Collapse
 
rahulcs754 profile image
rahul shukla β€’

it's very important for beginners. Thanks for sharing.

Collapse
 
sm0ke profile image
Sm0ke β€’

With pleasure ..

Collapse
 
krishan111 profile image
Krishan111 β€’

Sir can you tell me that which library is ideal to send mails through django smtplib or send_mail.
Thanks

Collapse
 
xarala221 profile image
Ousseynou Diop β€’

Very interesting!

Collapse
 
kwamikudjie profile image
Kwami Kudjie β€’

Thanks for sharing this

Collapse
 
sm0ke profile image
Sm0ke β€’

Yw!

Collapse
 
ohduran profile image
ohduran β€’

Hey, you might want to have a look at this one: github.com/ohduran/cookiecutter-re..., it includes all the necessary pieces to jumpstart a React + Django project on Heroku!

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

πŸ‘‹ Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay