* [gentoo-commits] proj/gentoo-packages:master commit in: /, gpackages/main/
@ 2012-05-29 13:38 Slava Bacherikov
0 siblings, 0 replies; only message in thread
From: Slava Bacherikov @ 2012-05-29 13:38 UTC (permalink / raw
To: gentoo-commits
commit: eed4cc35ea1f86bc765b525e5d9f3328b85475a1
Author: Slava Bacherikov <slava <AT> bacher09 <DOT> org>
AuthorDate: Tue May 29 12:36:27 2012 +0000
Commit: Slava Bacherikov <slava <AT> bacherikov <DOT> org <DOT> ua>
CommitDate: Tue May 29 12:36:27 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-packages.git;a=commit;h=eed4cc35
Provide ability for local config
---
.gitignore | 1 +
gpackages/main/settings.py | 5 +++++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index eaef0e1..d976809 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
*.swo
*.swp
*.db
+gpackages/main/local_settings.py
diff --git a/gpackages/main/settings.py b/gpackages/main/settings.py
index 86bad69..ec57163 100644
--- a/gpackages/main/settings.py
+++ b/gpackages/main/settings.py
@@ -145,3 +145,8 @@ LOGGING = {
},
}
}
+
+try:
+ from local_settings import *
+except ImportError:
+ print("Pleasy provide local_settings")
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-29 13:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 13:38 [gentoo-commits] proj/gentoo-packages:master commit in: /, gpackages/main/ Slava Bacherikov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox