Merge pull request #9 from bencord0/master

Support the 'postgresql' url scheme.
This commit is contained in:
Kenneth Reitz 2012-06-18 08:05:58 -07:00
commit 0018edad82

View file

@ -40,7 +40,7 @@ def parse(url):
'PORT': url.port,
})
if url.scheme == 'postgres':
if url.scheme == 'postgres' or url.scheme == 'postgresql':
config['ENGINE'] = 'django.db.backends.postgresql_psycopg2'
if url.scheme == 'postgis':