X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/c7d2e4daae13c7c1100ec0d42ace0e8c34b5ae24..02bba2f23396e6d4c56e3b182e2290dd3885da7e:/src/audiobooks/settings.py?ds=sidebyside diff --git a/src/audiobooks/settings.py b/src/audiobooks/settings.py index 46e73d3..ca3d16e 100644 --- a/src/audiobooks/settings.py +++ b/src/audiobooks/settings.py @@ -15,12 +15,8 @@ MANAGERS = ADMINS DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. - 'NAME': os.path.join(PROJECT_ROOT, 'dev.sqlite'), # Or path to database file if using sqlite3. - 'USER': '', # Not used with sqlite3. - 'PASSWORD': '', # Not used with sqlite3. - 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. - 'PORT': '', # Set to empty string for default. Not used with sqlite3. + 'ENGINE': 'django.db.backends.postgresql', + 'NAME': 'audio', } } @@ -104,7 +100,7 @@ TEMPLATES = [ }, ] -MIDDLEWARE_CLASSES = ( +MIDDLEWARE = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', @@ -135,6 +131,7 @@ INSTALLED_APPS = ( 'apiclient', 'archive', + 'youtube', ) # A sample logging configuration. The only tangible logging