Django2 Project Template

screenshot of Django2 Project Template

Django project/application starter for lazybones :)

Overview

The Django Project Starter Template is a custom project starter designed for Django. It aims to support upcoming Django releases and provides a range of features and utilities that enhance the Django development experience. This template requires the latest Python 3.7.4 runtime environment and PostgreSQL for database connection. It also utilizes tools such as pip, virtualenv, and virtualenvwrapper. The template offers a custom User model, improved application structure, settings abstraction, custom logger and log formatters, management commands for creating apps and models, and various utilities for debugging and file management.

Features

  • Custom User Model
  • Custom BaseModel
  • Custom BaseModelWithSoftDelete
  • Custom manager for BaseModel and BaseModelWithSoftDelete
  • Better Django Application structure
  • Settings abstraction for Development, Production, Heroku, and Test environments
  • Custom logger and log formatters for development server
  • Basic logging configuration for production server
  • App and Model creator management commands
  • Custom Locale middleware
  • Debug Mixin for HTML templates
  • Handy utilities such as console, console.dir(), numerify, and save_file
  • File widget for Django Admin: AdminImageFileWidget
  • Easy naming for admin site
  • DJANGO_ENV indicator for admin site
  • Custom and configurable error pages: 400, 403, 404, 500
  • OverwriteStorage for overwriting file uploads
  • Custom file storage for missing files in development environment: FileNotFoundFileSystemStorage
  • Report errors to Slack: SlackExceptionHandler

Summary

The Django Project Starter Template is a comprehensive and customizable project starter for Django developers. With its range of features and utilities, it provides an improved development experience and enhances the structure and functionality of Django applications. By following the installation guide, developers can quickly set up their development environment and start building Django projects with ease and efficiency.