X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/6d49074c135d1f5359cc34b69411ce932bf18f8d..583f4d519b134720024e4fa387b5a00561bd00cf:/src/audiobooks/settings.py diff --git a/src/audiobooks/settings.py b/src/audiobooks/settings.py index eab421d..7b6250d 100644 --- a/src/audiobooks/settings.py +++ b/src/audiobooks/settings.py @@ -1,5 +1,4 @@ # Django settings for audiobooks project. -# -*- coding: utf-8 -*- import os PROJECT_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) @@ -16,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', } }