Permalink
Browse files

fixed urls problem that broke phone photo upload

  • Loading branch information...
1 parent ad54fc3 commit b9bf2a929508a6fdfd0f75754154f2ef3b7c9ea4 @trey0 trey0 committed Oct 9, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 urls.py
View
@@ -4,11 +4,12 @@
# All Rights Reserved.
# __END_LICENSE__
-from django.conf.urls.defaults import include, patterns
+from django.conf.urls.defaults import * # pylint: disable=W0401
from django.conf import settings
from geocamCore.baseUrls import urlpatterns as basePatterns
from geocamCore.urls import urlpatterns as corePatterns
+from geocamLens.ViewLensSimple import viewSingleton as lensViews
urlpatterns = (basePatterns
+ corePatterns
@@ -19,6 +20,10 @@
(r'^geocamLens/', include('geocamLens.urls')),
(r'^geocamTrack/', include('geocamTrack.urls')),
+ # normally we would put this url in the geocamLens namespace, but
+ # the current version of GeoCam Mobile expects it at the top level
+ (r'^upload-m/$', lensViews.uploadImageAuth,
+ {'challenge': 'basic'}),
(r'^$', 'django.views.generic.simple.redirect_to',
{'url': settings.SCRIPT_NAME + 'geocamAware/',

0 comments on commit b9bf2a9

Please sign in to comment.