add cacheops and unfold for django admin
This commit is contained in:
@@ -27,6 +27,14 @@ DJANGO_APPS = [
|
||||
'django.contrib.staticfiles',
|
||||
]
|
||||
|
||||
DJANGO_UNFOLD = [
|
||||
"unfold",
|
||||
"unfold.contrib.filters",
|
||||
"unfold.contrib.forms",
|
||||
"unfold.contrib.guardian",
|
||||
"unfold.contrib.simple_history",
|
||||
]
|
||||
|
||||
APPS = [
|
||||
'core.apps.shared',
|
||||
'core.apps.accounts',
|
||||
@@ -37,9 +45,11 @@ PACKAGES = [
|
||||
'drf_spectacular',
|
||||
'rest_framework',
|
||||
'rest_framework_simplejwt',
|
||||
'cacheops',
|
||||
]
|
||||
|
||||
INSTALLED_APPS = []
|
||||
INSTALLED_APPS += DJANGO_UNFOLD
|
||||
INSTALLED_APPS += DJANGO_APPS
|
||||
INSTALLED_APPS += PACKAGES
|
||||
INSTALLED_APPS += APPS
|
||||
@@ -140,4 +150,5 @@ from config.conf.drf_spectacular import *
|
||||
from config.conf.rest_framework import *
|
||||
from config.conf.simplejwt import *
|
||||
from config.conf.celery import *
|
||||
from config.conf.redis import *
|
||||
from config.conf.redis import *
|
||||
from config.conf.unfold import *
|
||||
Reference in New Issue
Block a user