fix swagger & redoc templates location

This commit is contained in:
2023-10-28 18:38:51 +02:00
parent 383d256ea9
commit 33aa805f03
3 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ ALLOWED_HOSTS = []
REST_FRAMEWORK = {
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
'PAGE_SIZE': 25,
'PAGE_SIZE': 100,
'DEFAULT_RENDERER_CLASSES': [
'rest_framework.renderers.JSONRenderer',
],
@@ -71,7 +71,7 @@ ROOT_URLCONF = 'mabras.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'DIRS': ["mabras/templates"],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [