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 = {
'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': [