Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

Commit

Permalink
Fix settings_local.py to use dj_database_url correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
willkg committed Jul 3, 2014
1 parent 3160053 commit 068facd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion richard/settings_local.py-dist
Expand Up @@ -25,7 +25,7 @@ DATABASES = {
# https://github.com/kennethreitz/dj-database-url

# sqlite:////PATH
'default': 'sqlite:///' + os.path.join(SITE_ROOT, 'database.db')
'default': dj_database_url.config(default='sqlite:///' + os.path.join(SITE_ROOT, 'database.db'))

# postgres://USERNAME:PASSWORD@HOST:PORT/NAME
# 'default': dj_database_url.config(default='postgres://richard:richard@localhost:5432/YOURSITE')
Expand Down

0 comments on commit 068facd

Please sign in to comment.