This article presents an open-source Django Template coded with basic modules and deployment scripts on top of Black Dashboard design, an iconic UI Kit crafted by Creative-Tim. The project can be downloaded directly from Github, and the permissive (MIT) license allows the usage for unlimited hobby & commercial projects. Another strong point of this simple Django Template is the support provided in two layers: via Github (issues tracker) and LIVE via Discord a 24/7 service provided by AppSeed core team.
Thanks for reading! App Links are below:
- Django Template - Black Dashboard, product page
- Django Template - Black Demo - LIVE App deployment
- Django Template - Black PRO, a premium Django starter
Django Template - Codebase
The codebase is a super simple Django Template enhanced with authentication, SQLite database and deployment scripts for Docker and Gunicorn/Nginx stack - Full list of features:
- UI Kit: Black Dashboard (Free version) provided by Creative-Tim
- UI-Ready app, SQLite Database, Django Native ORM
- Modular design, clean code-base
- Session-Based Authentication, Forms validation
- Deployment scripts: Docker, Gunicorn / Nginx
- Support via Github and 24/7 LIVE on Discord
What is Django
Django is a high-level Python web framework, built by experienced developers, that enables rapid development of secure and maintainable websites. The project is actively supported and versioned by an impressive open-source community.
Django features and characteristics
Mature Framework - With the first release in September 2008, Django was improved constantly since then. Django follows the "Batteries included" philosophy and provides almost everything developers might want to do "out of the box". Because everything you need is part of the one "product", it all works seamlessly together, follows consistent design principles, and has extensive and up-to-date documentation.
Versatile and Modular - Django being a complete framework, can be used to code super simple, one-page websites and, at the same time, complex eCommerce platforms, API servers, or microservices. Django provides choices for almost any functionality you might need in your project (e.g. several popular databases, templating engines, etc.), it can also be extended to use other components if needed.
Security - A super-important aspect of any project, is covered nicely by Django by providing built-in protections for many security threats. Django provides a secure way to manage user accounts and passwords, avoiding common mistakes like putting session information in cookies where it is vulnerable (instead cookies just contain a key, and the actual data is stored in the database) or directly storing passwords rather than a password hash.
For more information related to this amazing framework, feel free to access the official Django links:
How to use the code
To compile and start the app, Python3 should be installed properly in the workstation. If you are not sure if Python is properly installed, please open a terminal and type `python --version`. The full-list with dependencies and tools required to build the app:
- Python3 - the programming language used to code the app
- GIT - used to clone the source code from the Github repository
- Basic development tools (g++ compiler, python development libraries ..etc) used by Python to compile the app dependencies in your environment.
For more information on how to set up your environment please access the resources listed below:
$ # Get the code $ git clone https://github.com/app-generator/django-dashboard-black.git $ cd django-dashboard-black $ $ # Virtualenv set up $ virtualenv env $ source env/bin/activate $ $ # Install modules $ pip3 install -r requirements.txt $ $ # Create tables $ python manage.py makemigrations $ python manage.py migrate $ $ # Start the application (development mode) $ python manage.py runserver # default port 8000 $ $ # Start the app - custom port $ # python manage.py runserver 0.0.0.0:<your_port> $ $ # Access the web app in browser: http://127.0.0.1:8000/
By typing above commands, we should see the app running in the browser. In case something is working as expected or discover a bug somewhere in the code, please use Github (issues tracker) to report it or contact AppSeed support team via Discord.
Django Template - UI Alerts
Django Template - UI Typography
Thanks for reading! For more starters, please access the AppSeed platform or take a look at a premium starter - Django Template Black PRO
Black Dashboard PRO is a beautiful Bootstrap 4 Admin Dashboard with a huge number of components built to fit together and look amazing. If you are looking for a tool to manage and visualize data about your business, this dashboard is the thing for you. It combines colors that are easy on the eye, spacious cards, beautiful typography, and graphics. Black Dashboard PRO comes packed with all plugins that you might need inside a project and documentation on how to get started. It is light and easy to use, and also very powerful.
Links: Django Black PRO (product page), LIVE Demo