Adnane Belmadiaf has proposed merging lp:~daker/loco-directory/fix.722224 into
lp:loco-directory.
Requested reviews:
loco-directory-dev (loco-directory-dev)
Related bugs:
Bug #722224 in LoCo Team Directory: "Should not get warning about needing to
run ./manage.py init-ld when running init-ld"
https://bugs.launchpad.net/loco-directory/+bug/722224
For more details, see:
https://code.launchpad.net/~daker/loco-directory/fix.722224/+merge/76208
--
https://code.launchpad.net/~daker/loco-directory/fix.722224/+merge/76208
Your team loco-directory-dev is requested to review the proposed merge of
lp:~daker/loco-directory/fix.722224 into lp:loco-directory.
=== modified file 'loco_directory/settings.py'
--- loco_directory/settings.py 2011-07-29 20:46:40 +0000
+++ loco_directory/settings.py 2011-09-20 13:09:29 +0000
@@ -3,12 +3,15 @@
import os
import sys
+uw_import = False
try:
import ubuntu_website
uw_import = True
except ImportError:
- print "You will need to run ./manage.py init-ld to make the LoCo Team Directory fully work."
- uw_import = False
+ if not 'init-ld' in sys.argv:
+ print "You will need to run ./manage.py init-ld to make the LoCo Team Directory fully work."
+ else:
+ pass
# Check for necessary modules
modules = {
_______________________________________________
Mailing list: https://launchpad.net/~loco-directory-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~loco-directory-dev
More help : https://help.launchpad.net/ListHelp