X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/583f4d519b134720024e4fa387b5a00561bd00cf..8bcd64e22154f412eb61e304a3239271ea75670a:/src/audiobooks/settings.py diff --git a/src/audiobooks/settings.py b/src/audiobooks/settings.py index 7b6250d..f36fe81 100644 --- a/src/audiobooks/settings.py +++ b/src/audiobooks/settings.py @@ -100,13 +100,14 @@ TEMPLATES = [ }, ] -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 = ( @@ -124,13 +125,15 @@ INSTALLED_APPS = ( '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