suit admin

This commit is contained in:
bakatrouble 2019-01-26 10:17:46 +03:00
parent ed91a1f5ae
commit a2b9cbc14c
3 changed files with 11 additions and 4 deletions

View File

@ -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']
INSTALLED_APPS = [
'django_extensions',
'bootstrap4',
'djconfig',
'config.suit_config.SuitConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
@ -24,10 +29,6 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'django_extensions',
'bootstrap4',
'djconfig',
'cabinet.apps.CabinetConfig',
'feeds.apps.FeedsConfig',
]

5
config/suit_config.py Normal file
View File

@ -0,0 +1,5 @@
from suit.apps import DjangoSuitConfig
class SuitConfig(DjangoSuitConfig):
layout = 'vertical'

View File

@ -10,6 +10,7 @@ django-djconfig==0.9.0
django-environ==0.4.5
django-extensions==2.1.4
django-redis==4.10.0
-e git+https://github.com/darklow/django-suit@9941211bc7d63d94478a3c6479c51926dc75db09#egg=django_suit
django-yamlfield==1.0.3
enum34==1.1.6
idna==2.8