Created
January 12, 2013 17:02
-
-
Save hcwiley/4519284 to your computer and use it in GitHub Desktop.
my typical local_settings.py file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MEDIA_ROOT = '/Users/hcwiley/github/heartbucket/heartbucket.com/static' | |
DATABASES = { | |
'default': { | |
'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. | |
'NAME': 'heartbucket', # Or path to database file if using sqlite3. | |
'USER': 'django', # Not used with sqlite3. | |
'PASSWORD': '', # Not used with sqlite3. | |
'HOST': 'localhost', # 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
Alternate way to define MEDIA_ROOT: