mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Fixed Sqlite path to have three slashes by default as mentioned in the dj-database-url documentation.
Fixes #48.
This commit is contained in:
parent
4e2a4a6d30
commit
28b78399df
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue