Fixed Sqlite path to have three slashes by default as mentioned in the dj-database-url documentation.

Fixes #48.
This commit is contained in:
Jannis Leidel 2014-01-16 18:04:26 +01:00
parent 4e2a4a6d30
commit 28b78399df

View file

@ -60,7 +60,7 @@ class Common(Configuration):
# https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/#databases
# http://django-configurations.readthedocs.org/en/latest/values/#configurations.values.DatabaseURLValue
DATABASES = values.DatabaseURLValue('sqlite://%s' % os.path.join(BASE_DIR, 'db.sqlite3'),
DATABASES = values.DatabaseURLValue('sqlite:///%s' % os.path.join(BASE_DIR, 'db.sqlite3'),
environ=True)
# Internationalization