},
]
-MIDDLEWARE_CLASSES = (
+MIDDLEWARE = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django_cas_ng.middleware.CASMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
+ "fnp_django_pagination.middleware.PaginationMiddleware",
)
AUTHENTICATION_BACKENDS = (
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
+ 'django.contrib.postgres',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
'bootstrap4',
'django_cas_ng',
-
'apiclient',
'archive',
+ 'youtube',
+ "fnp_django_pagination",
)
# A sample logging configuration. The only tangible logging