X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/2444d6ffd7995be782615589fb1d5aef2c8277ce..4b9cffea08b229497136e30063a80f180db550c8:/settings_local.py.dist diff --git a/settings_local.py.dist b/settings_local.py.dist index 9768cfa..c50bc33 100644 --- a/settings_local.py.dist +++ b/settings_local.py.dist @@ -24,12 +24,16 @@ TEMPLATE_DEBUG = DEBUG INTERNAL_IPS = ('127.0.0.1',) -DATABASE_NAME = '' # Or path to database file if using sqlite3. -DATABASE_USER = '' # Not used with sqlite3. -DATABASE_PASSWORD = '' # Not used with sqlite3. -DATABASE_ENGINE = '' #mysql, etc -DATABASE_HOST = '' -DATABASE_PORT = '' +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.mysql', + 'NAME': 'osqa', + 'USER': 'root', + 'PASSWORD': '', + 'HOST': '', + 'PORT': '', + } +} CACHE_BACKEND = 'file://%s' % os.path.join(os.path.dirname(__file__),'cache').replace('\\','/') #CACHE_BACKEND = 'dummy://'