url(r"^plugins/(?P<slug>[-\w]+)$", PluginView.as_view(), name="plugins"), url(r"^cards/(?P<resourceid>%s|())$" % uuid_regex, api.Card.as_view(), name="api_card"), url(r"^search_component_data/(?P<componentname>[-\w]+)$", api.SearchComponentData.as_view(), name="api_search_component_data"), url(r"^geojson$", api.GeoJSON.as_view(), name="geojson"), url( r"^mvt/(?P<nodeid>%s)/(?P<zoom>[0-9]+|\{z\})/(?P<x>[0-9]+|\{x\})/(?P<y>[0-9]+|\{y\}).pbf$" % uuid_regex, api.MVT.as_view(), name="mvt", ), url(r"^images$", api.Images.as_view(), name="images"), url(r"^ontology_properties$", api.OntologyProperty.as_view(), name="ontology_properties"), url(r"^validate/(?P<itemtype>[-\w]+)/(?P<itemid>[-\w]+)", api.Validator.as_view(), name="validate"), url(r"^validate/(?P<itemtype>[-\w]+)", api.Validator.as_view(), name="validatejson"), url(r"^tileserver/(?P<path>.*)$", TileserverProxyView.as_view()), url(r"^history/$", ResourceActivityStreamCollectionView.as_view(), name="as_stream_collection"), url(r"^history/(?P<page>[0-9]+)$", ResourceActivityStreamPageView.as_view(), name="as_stream_page"), url(r"^icons$", IconDataView.as_view(), name="icons"), # Uncomment the admin/doc line below to enable admin documentation: # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), # Uncomment the next line to enable the admin: url(r"^admin/", admin.site.urls), url("i18n/", include("django.conf.urls.i18n")), url( r"^password_reset/$", PasswordResetView.as_view(), name="password_reset", ), url(r"^password_reset/done/$", auth_views.PasswordResetDoneView.as_view(), name="password_reset_done"), url( r"^reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$", PasswordResetConfirmView.as_view(),
url(r'^collector_manager/*', MobileSurveyManagerView.as_view(), name="collector_manager"), url(r'^collector_designer/(?P<surveyid>%s)$' % uuid_regex, MobileSurveyDesignerView.as_view(), name='collector_designer'), url(r'^mobile_survey_resources/(?P<surveyid>%s)/resources$' % uuid_regex, MobileSurveyResources.as_view(), name='mobile_survey_resources'), url(r'^couchdb/(?P<path>.*)$', api.CouchdbProxy.as_view()), url(r'^mobileprojects/(?:(?P<surveyid>%s))?$' % uuid_regex, api.Surveys.as_view(), name='mobileprojects'), url(r'^sync/(?P<surveyid>%s|())$' % uuid_regex, api.Sync.as_view(), name='sync'), url(r'^resources/(?P<graphid>%s)/(?P<resourceid>%s|())$' % (uuid_regex, uuid_regex), api.Resources.as_view(), name='resources_graphid'), url(r'^resources/(?P<slug>[-\w]+)/(?P<resourceid>%s|())$' % uuid_regex, api.Resources.as_view(), name='resources_slug'), url(r'^resources/(?P<resourceid>%s|())$' % uuid_regex, api.Resources.as_view(), name='resources'), url(r'^rdm/concepts/(?P<conceptid>%s|())$' % uuid_regex, api.Concepts.as_view(), name='concepts'), url(r'^plugins/(?P<pluginid>%s)$' % uuid_regex, PluginView.as_view(), name='plugins'), url(r'^plugins/(?P<slug>[-\w]+)$', PluginView.as_view(), name='plugins'), url(r'^cards/(?P<resourceid>%s|())$' % uuid_regex, api.Card.as_view(), name='api_card'), url(r'^search_component_data/(?P<componentname>[-\w]+)$', api.SearchComponentData.as_view(), name='api_search_component_data'), url(r'^history/$', ResourceActivityStreamCollectionView.as_view(), name="as_stream_collection"), url(r'^history/(?P<page>[0-9]+)$', ResourceActivityStreamPageView.as_view(), name='as_stream_page'), url(r'^icons$', IconDataView.as_view(), name='icons'), # Uncomment the admin/doc line below to enable admin documentation: # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), # Uncomment the next line to enable the admin: url(r'^admin/', admin.site.urls), url(r'^password_reset/$', auth_views.password_reset, name='password_reset', kwargs={"password_reset_form":ArchesPasswordResetForm}), url(r'^password_reset/done/$', auth_views.password_reset_done, name='password_reset_done'), url(r'^reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', auth_views.password_reset_confirm, name='password_reset_confirm', kwargs={"set_password_form":ArchesSetPasswordForm}), url(r'^reset/done/$', auth_views.password_reset_complete, name='password_reset_complete'), url(r'^o/', include('oauth2_provider.urls', namespace='oauth2')), ]
url(r"^images$", api.Images.as_view(), name="images"), url(r"^ontology_properties$", api.OntologyProperty.as_view(), name="ontology_properties"), url(r"^validate/(?P<itemtype>[-\w]+)/(?P<itemid>[-\w]+)", api.Validator.as_view(), name="validate"), url(r"^validate/(?P<itemtype>[-\w]+)", api.Validator.as_view(), name="validatejson"), url(r"^tileserver/(?P<path>.*)$", TileserverProxyView.as_view()), url(r"^history/$", ResourceActivityStreamCollectionView.as_view(), name="as_stream_collection"), url(r"^history/(?P<page>[0-9]+)$", ResourceActivityStreamPageView.as_view(), name="as_stream_page"), url(r"^icons$", IconDataView.as_view(), name="icons"), # Uncomment the admin/doc line below to enable admin documentation: # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), # Uncomment the next line to enable the admin: url(r"^admin/", admin.site.urls), url("i18n/", include("django.conf.urls.i18n")), url( r"^password_reset/$", PasswordResetView.as_view(), name="password_reset", ), url(r"^password_reset/done/$", auth_views.PasswordResetDoneView.as_view(), name="password_reset_done"),