Skip to content

Commit

Permalink
Disable tiepoint in urls.py if it's not in INSTALLED_APPS
Browse files Browse the repository at this point in the history
  • Loading branch information
deleted committed Jul 31, 2012
1 parent 64d1d69 commit e34b256
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion urls.py
Expand Up @@ -26,9 +26,14 @@
{'loginRequired': False}, {'loginRequired': False},
'logout'), 'logout'),


url(r'^geocamTiePoint/', include('geocamTiePoint.urls')),
) )


if 'geocamTiePoint' in settings.INSTALLED_APPS:
urlpatterns += (
'',
url(r'^geocamTiePoint/', include('geocamTiePoint.urls')),
)

urlpatterns += responderMapsPatterns urlpatterns += responderMapsPatterns
urlpatterns += geocamMapSetPatterns urlpatterns += geocamMapSetPatterns


Expand Down

0 comments on commit e34b256

Please sign in to comment.