Merge lp:~mhall119/loco-team-portal/686057 into lp:loco-team-portal

Proposed by Michael Hall on 2010-12-06
Status: Merged
Merged at revision: 339
Proposed branch: lp:~mhall119/loco-team-portal/686057
Merge into: lp:loco-team-portal
Diff against target: 15 lines (+5/-0)
1 file modified
loco_directory/settings.py (+5/-0)
To merge this branch: bzr merge lp:~mhall119/loco-team-portal/686057
Reviewer Review Type Date Requested Status
Daniel Holbach (community) 2010-12-06 Approve on 2010-12-06
Review via email: mp+42850@code.launchpad.net
To post a comment you must log in.
Daniel Holbach (dholbach) wrote :

Good work. At some stage we probably want to generalise this a bit.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'loco_directory/settings.py'
2--- loco_directory/settings.py 2010-11-20 17:25:50 +0000
3+++ loco_directory/settings.py 2010-12-06 16:42:53 +0000
4@@ -8,6 +8,11 @@
5 print "You will need to run ./manage.py init-ld to make the LoCo Team Directory fully work."
6 uw_import = False
7
8+try:
9+ import pytz
10+except ImportError:
11+ print "Missing library: pytz, Install package: python-tz"
12+
13 PROJECT_PATH = os.path.dirname(os.path.abspath(__file__))
14
15 DEBUG = True

Subscribers

People subscribed via source and target branches