https://github.com/app-generator/blog-django-install-theme
Django - Install Soft Dashboard Theme
https://github.com/app-generator/blog-django-install-theme
appseed-sample django open-source
Last synced: about 2 months ago
JSON representation
Django - Install Soft Dashboard Theme
- Host: GitHub
- URL: https://github.com/app-generator/blog-django-install-theme
- Owner: app-generator
- Created: 2022-09-28T04:54:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-28T07:32:49.000Z (over 3 years ago)
- Last Synced: 2025-10-07T18:49:21.719Z (8 months ago)
- Topics: appseed-sample, django, open-source
- Language: Python
- Homepage: https://appseed.us
- Size: 15.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Django - Install [Soft Dashboard Theme](https://github.com/app-generator/django-admin-soft-dashboard)
This free sample explains how to create from scratch a new Django project, add authentication and improve the UI by installing **[Soft Dashboard](https://github.com/app-generator/django-admin-soft-dashboard)**, a modern BS5 design from `Creative-Tim`.

# ✨ Create the project
> 👉 **Create the directory**
```bash
$ mkdir my-django-project
$ cd my-django-project
```
> 👉 **Install the dependencies**
```bash
$ virtualenv env
$ source env/bin/activate
$ pip install Django
```
> 👉 **Create the Django project**
```bash
$ django-admin startproject core .
```
> Set Up the database
```bash
$ python manage.py makemigrations
$ python manage.py migrate
```
> 👉 **Start the app**
```bash
$ python manage.py runserver
```

> 👉 **Create a superuser**
```bash
$ python manage.py createsuperuser
```
At this point we can access the `admin` section that uses a minimal style.

## ✨ Install Soft UI Design
> 👉 **Install the PyPi package**
```bash
$ pip install django-admin-soft-dashboard
```
> 👉 **Configure Django to use the new design**
Add `admin_soft` application to the `INSTALLED_APPS` setting of your Django project `settings.py` file (note it should be before `django.contrib.admin`):
```python
INSTALLED_APPS = (
...
'admin_soft.apps.AdminSoftDashboardConfig',
'django.contrib.admin',
)
```
> 👉 **Start the app and access the new admin design**
```bash
$ python manage.py runserver
```

## ✨ Add a new app
This section explains how to add a minimal app that handles ordinary users registration.
> 👉 **Create the new app**
```bash
$ django-admin startapp authentication
```
> Update the app settings (`INSTALLED_APPS` section)
```python
# core/python.py (truncated content)
...
INSTALLED_APPS = [
'admin_soft.apps.AdminSoftDashboardConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'authentication', # <-- NEW
]
...
```
> 👉 **Start the project** and `access the new admin` design
```bash
$ python manage.py runserver
```

---
**[Django](https://appseed.us/apps/django/)**, How to Install [Soft Dashboard Theme](https://github.com/app-generator/django-admin-soft-dashboard) - Open-source sample provided by [AppSeed](https://appseed.us)