rework-drf #4

Merged
Kaladaran merged 13 commits from rework-drf into main 2023-10-29 22:08:44 +01:00
3 changed files with 2 additions and 2 deletions
Showing only changes of commit 33aa805f03 - Show all commits

View File

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