suit admin
This commit is contained in:
parent
ed91a1f5ae
commit
a2b9cbc14c
@ -17,6 +17,11 @@ DEBUG = env.bool('DJANGO_DEBUG', True)
|
|||||||
ALLOWED_HOSTS = ['0.0.0.0', '127.0.0.1', 'home.bakatrouble.pw', 'localhost', 'bots.bakatrouble.pw']
|
ALLOWED_HOSTS = ['0.0.0.0', '127.0.0.1', 'home.bakatrouble.pw', 'localhost', 'bots.bakatrouble.pw']
|
||||||
|
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
|
'django_extensions',
|
||||||
|
'bootstrap4',
|
||||||
|
'djconfig',
|
||||||
|
'config.suit_config.SuitConfig',
|
||||||
|
|
||||||
'django.contrib.admin',
|
'django.contrib.admin',
|
||||||
'django.contrib.auth',
|
'django.contrib.auth',
|
||||||
'django.contrib.contenttypes',
|
'django.contrib.contenttypes',
|
||||||
@ -24,10 +29,6 @@ INSTALLED_APPS = [
|
|||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
|
|
||||||
'django_extensions',
|
|
||||||
'bootstrap4',
|
|
||||||
'djconfig',
|
|
||||||
|
|
||||||
'cabinet.apps.CabinetConfig',
|
'cabinet.apps.CabinetConfig',
|
||||||
'feeds.apps.FeedsConfig',
|
'feeds.apps.FeedsConfig',
|
||||||
]
|
]
|
||||||
|
5
config/suit_config.py
Normal file
5
config/suit_config.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from suit.apps import DjangoSuitConfig
|
||||||
|
|
||||||
|
|
||||||
|
class SuitConfig(DjangoSuitConfig):
|
||||||
|
layout = 'vertical'
|
@ -10,6 +10,7 @@ django-djconfig==0.9.0
|
|||||||
django-environ==0.4.5
|
django-environ==0.4.5
|
||||||
django-extensions==2.1.4
|
django-extensions==2.1.4
|
||||||
django-redis==4.10.0
|
django-redis==4.10.0
|
||||||
|
-e git+https://github.com/darklow/django-suit@9941211bc7d63d94478a3c6479c51926dc75db09#egg=django_suit
|
||||||
django-yamlfield==1.0.3
|
django-yamlfield==1.0.3
|
||||||
enum34==1.1.6
|
enum34==1.1.6
|
||||||
idna==2.8
|
idna==2.8
|
||||||
|
Loading…
Reference in New Issue
Block a user