projects
/
matthijs
/
projects
/
dorestad-bookings.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
settings: Prompt for a database login when using South migrations.
[matthijs/projects/dorestad-bookings.git]
/
settings.py
diff --git
a/settings.py
b/settings.py
index f07aa72728df59e24277bd30e379b00b9555be9b..54df1e2ef3355f9e09e5353a91ca7b25b831c1f3 100644
(file)
--- a/
settings.py
+++ b/
settings.py
@@
-17,6
+17,10
@@
MANAGERS = ADMINS
# Import database settings from a default file (so we can keep those out
# of git).
from dbsettings import *
# Import database settings from a default file (so we can keep those out
# of git).
from dbsettings import *
+# Import alternative database settings for when running a south schema
+# migration. The soutsettings.py takes care of detecting this case and
+# prompting for a password, then.
+from southsettings import *
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name