url(r'^layers/resolve_user/?$', resolve_user, name='layer_resolve_user_dep'), url(r'^layers/download$', layer_batch_download, name='layer_batch_download_dep'), ) layer_detail_patterns = patterns( '', url(r'^layers/(?P<layername>[^/]*)$', layer_detail, name="layer_detail"), ) urlpatterns = patterns( '', url(r'^$', IndexView.as_view(), name="index_view"), url(r"^account/signup/$", MapStorySignup.as_view(), name="account_signup"), url(r'^accounts/verify/$', 'mapstory.views.account_verify', name='account_verify'), url(r'^maps/templates/story-about-info.html$', TemplateView.as_view( template_name='mapstory/composer/story-about-info.html'), name='composer-add-layers'), url(r'^maps/templates/add-layers.html$', TemplateView.as_view( template_name='mapstory/composer/add-layers.html'), name='composer-add-layers'), url(r'^maps/templates/layer-list.html$', TemplateView.as_view( template_name='mapstory/composer/layer-list.html'),
from django.conf import settings from django.conf.urls import patterns from django.conf.urls import url from django.conf.urls.static import static from django.views.generic import TemplateView from geonode.urls import urlpatterns from mapstory.views import IndexView urlpatterns = patterns('', url(r'^$', IndexView.as_view()), url(r'^maps/new2$', 'geonode.maps.views.new_map', {'template': 'maps/mapstory_map_view.html'}, name='map-new2'), url(r'^maps/(?P<mapid>\d+)/view2$', 'geonode.maps.views.map_view', {'template': 'maps/mapstory_map_view.html'}, name='map-view2'), url(r'^diary$', TemplateView.as_view(template_name='mapstory/diary.html'), name='diary'), url(r'^getpage$', TemplateView.as_view(template_name='mapstory/getpage.html'), name='getpage'), url(r'^storylayerpage$', TemplateView.as_view(template_name='mapstory/storylayerpage.html'), name='storylayerpage'), url(r'^mapstorypage$', TemplateView.as_view(template_name='mapstory/mapstorypage.html'), name='mapstorypage'), url(r'^style-test$', TemplateView.as_view(template_name='testing/style_editor.html')), ) + urlpatterns if settings.LOCAL_CONTENT: urlpatterns = static(settings.STATIC_URL + "assets", document_root=settings.LOCAL_ROOT + "/../../mapstory-assets", show_indexes=True) + urlpatterns
from django.contrib.auth.decorators import login_required from django.views.generic import TemplateView from geonode.urls import urlpatterns from mapstory.views import IndexView from mapstory.views import DiaryDetailView from mapstory.views import DiaryListView from mapstory.views import DiaryCreateView from mapstory.views import DiaryUpdateView from mapstory.views import GetPageView from mapstory.views import ProfileDetail from mapstory.views import SearchView from mapstory.views import LeaderListView urlpatterns = patterns( '', url(r'^$', IndexView.as_view()), url(r'^maps/new2$', 'geonode.maps.views.new_map', {'template': 'maps/mapstory_map_view.html'}, name='map-new2'), url(r'^maps/(?P<mapid>\d+)/view2$', 'geonode.maps.views.map_view', {'template': 'maps/mapstory_map_view.html'}, name='map-view2'), url(r"^people/profile/(?P<slug>[^/]*)/$", ProfileDetail.as_view(), name="profile_detail"), url(r'^tours/editor_tour$', TemplateView.as_view(template_name='maps/editor_tour.html'), name='editor_tour'), url(r'^diary$', DiaryListView.as_view(), name='diary'),
url(r'^layers/resolve_user/?$', resolve_user, name='layer_resolve_user_dep'), url(r'^layers/download$', layer_batch_download, name='layer_batch_download_dep'), ) layer_detail_patterns = patterns('', url(r'^layers/(?P<layerid>\d+)$', layer_detail_id, name="layer_detail_id"), url(r'^storylayer/(?P<layerid>\d+)$', layer_detail_id, name="storylayer_detail_id"), url(r'^layers/(?P<layername>[^/]*)$', layer_detail, name="layer_detail"), ) urlpatterns = patterns('', # Adding Threaded Comments app url(r'^articles/comments/', include('django_comments.urls')), url(r'^blog/comments/', include('fluent_comments.urls')), url(r'^$', IndexView.as_view(), name="index_view"), url(r'^accounts/profile/$', RedirectView.as_view(url=reverse_lazy('index_view'))), #temp fix for social auth redirect url(r"^account/signup/$", MapStorySignup.as_view(), name="account_signup"), url(r'^accounts/verify/$', 'mapstory.views.account_verify', name='account_verify'), url(r"^account/confirm_email/(?P<key>\w+)/$", MapStoryConfirmEmailView.as_view(), name="account_confirm_email"), url(r'^maps/templates/story-about-info.html$', TemplateView.as_view(template_name='mapstory/composer/story-about-info.html'), name='composer-add-layers'), url(r'^maps/templates/add-layers.html$', TemplateView.as_view(template_name='mapstory/composer/add-layers.html'), name='composer-add-layers'), url(r'^maps/templates/layer-list.html$', TemplateView.as_view(template_name='mapstory/composer/layer-list.html'), name='composer-layer-list'), url(r'^maps/templates/load-map-dialog.html$', TemplateView.as_view(template_name='mapstory/composer/load-map-dialog.html'), name='composer-load-map'), url(r'^maps/templates/load-search-dialog.html$', TemplateView.as_view(template_name='mapstory/composer/load-search-dialog.html'), name='composer-load-search'), url(r'^maps/templates/load-new-map-dialog.html$', TemplateView.as_view(template_name='mapstory/composer/load-new-map-dialog.html'), name='composer-load-new-map'), url(r'^maps/(?P<mapid>\d+)/boxes$', include('mapstory.apps.boxes.urls')), url(r'^maps/new/data$', 'mapstory.views.new_map_json', name='new_map_json'), url(r'^story/(?P<storyid>[^/]+)$', 'mapstory.views.mapstory_view', name='mapstory_view'),
layer_detail_patterns = patterns( "", url(r"^layers/(?P<layerid>\d+)$", layer_detail_id, name="layer_detail_id"), url(r"^storylayer/(?P<layerid>\d+)$", layer_detail_id, name="storylayer_detail_id"), url(r"^layers/(?P<layername>[^/]*)$", layer_detail, name="layer_detail"), ) urlpatterns = ( patterns( "", url(r"^ht/", health_check, name="health_check"), # Adding Threaded Comments app url(r"^articles/comments/", include("django_comments.urls")), url(r"^blog/comments/", include("fluent_comments.urls")), url(r"^$", IndexView.as_view(), name="index_view"), url(r"^account/signup/$", MapStorySignupView.as_view(), name="account_signup"), url( r"^accounts/profile/$", RedirectView.as_view(url=reverse_lazy("index_view")) ), # temp fix for social auth redirect url(r"^accounts/verify/$", "mapstory.views.account_verify", name="account_verify"), url(r"^account/confirm_email/(?P<key>\w+)/$", MapStoryConfirmEmailView.as_view(), name="account_confirm_email"), url(r"^maps/(?P<mapid>\d+)/boxes$", include("mapstory.apps.boxes.urls")), url(r"^maps/new/data$", "mapstory.views.new_map_json", name="new_map_json"), url(r"^story/(?P<mapid>\d+)/?$", map_detail, name="mapstory_detail"), url(r"^story/(?P<storyid>\d+)/view$", "mapstory.views.mapstory_view", name="mapstory_view"), # MapLoom url(r"^maps/new$", "geonode.maps.views.new_map", {"template": "composer/maploom.html"}, name="maploom-map-new"), url( r"^maps/edit$", "geonode.maps.views.new_map",