Skip to content

Commit 85c8920

Browse files
committed
added local settings pattern
1 parent e278341 commit 85c8920

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# Python Ignores
22
*.pyc
3+
4+
# Django Ignores
5+
meander/local_settings.py

meander/settings.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,9 @@
158158
},
159159
}
160160
}
161+
162+
# Local Settings to hide stuff from VCS
163+
try:
164+
from local_settings import *
165+
except ImportError:
166+
pass

0 commit comments

Comments
 (0)