PostgreSQL for local development. (DISTINCT ON not possible on SQLite)
This commit is contained in:
parent
1b736988c8
commit
c9868beef8
|
@ -7,3 +7,7 @@ django-suit==0.2.6
|
|||
|
||||
# Fixes
|
||||
longerusername==0.4
|
||||
|
||||
# DDBB
|
||||
dj-database-url==0.3.0
|
||||
psycopg2==2.5.2
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
import dj_database_url
|
||||
from .base import *
|
||||
|
||||
|
||||
DEBUG = True
|
||||
TEMPLATE_DEBUG = True
|
||||
|
||||
DATABASES = {
|
||||
'default': dj_database_url.parse('postgres:///shelfzilla')
|
||||
}
|
||||
|
|
Reference in New Issue