settings: add support for a local_settings.py module

This commit is contained in:
Frédéric Péters 2013-02-11 11:10:44 +01:00
parent dee85f1156
commit a560ce42ee
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
local_settings.py

View File

@ -149,3 +149,8 @@ LOGGING = {
},
}
}
try:
from local_settings import *
except ImportError:
pass