Follow the FAQ to create a custom skin. Learn more
It's only recommended to use template without customizer, if you wish to configure themes, layouts and other customizations by changing custom options from config/templates.py
file.
We have provided template with customizer, So user can check all the layout options and it's classes and can get idea about all the possibilities.
But before deployment, you might not required this customizer. Then you can check below options :
Option 1: If you want to remove customizer and also not required LocalStorage
, then you can use has_customizer
option in config/templates.py
file
If you set this option to false
, it will remove customizer, template customizer js and initialization script as well.
TEMPLATE_CONFIG = {
...
'has_customizer' => false,
...
}
Option 2: If you want to hide customizer and you need LocalStorage
to store data like menuCollapse, light/dark layout, etc.., then you can use display_customizer
option from config/templates.py
file
If you set this option to false
, it will hide customizer and won't remove/hide template customizer js.
TEMPLATE_CONFIG = {
...
"display_customizer": False,
...
}
If you have multiple migration file such has below.
apps
└── 📂 test
└── 📂 migrations
├── 📄 0001_initial.py
├── 📄 0002_auto_20210901_0000.py
└── 📄 0003_auto_20210901_0001.py
You can delete migrations folder/files and run following command in the terminal. This will remove other instance and create only one file.
python manage.py makemigrations app_name
python manage.py migrate
Follow bellow step to update Django version in your current project.
requirements.txt
.Django==4.2.5 ==> Django==5.0
FROM python:3.9 ==> FROM python:3.12
settings.py
in line with Django5, you can create a new project and compare its settings.py
with your existing project's configuration.