Skip to content

Instantly share code, notes, and snippets.

@joelhaasnoot
Created January 10, 2012 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joelhaasnoot/1591386 to your computer and use it in GitHub Desktop.
Save joelhaasnoot/1591386 to your computer and use it in GitHub Desktop.
Database config
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'haltes', # Or path to database file if using sqlite3.
'USER': 'geo', # Not used with sqlite3.
'PASSWORD': 'haltes', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment