Exemplo n.º 1
0
# Uncomment the next two lines to enable the admin:
from django.contrib import admin

admin.autodiscover()

uuid_regex = settings.UUID_REGEX


urlpatterns = [
    url(r"^$", main.index, name="root"),
    url(r"^index.htm", main.index, name="home"),
    url(r"^auth/password$", ChangePasswordView.as_view(), name="change_password"),
    url(r"^auth/signup$", SignupView.as_view(), name="signup"),
    url(r"^auth/confirm_signup$", ConfirmSignupView.as_view(), name="confirm_signup"),
    url(r"^auth/get_client_id$", GetClientIdView.as_view(), name="get_client_id"),
    url(r"^auth/user_profile$", UserProfileView.as_view(), name="user_profile"),
    url(r"^auth/server_settings$", ServerSettingView.as_view(), name="server_settings"),
    url(r"^auth/get_dev_token$", Token.as_view(), name="get_dev_token"),
    url(r"^auth/", LoginView.as_view(), name="auth"),
    url(r"^rdm/(?P<conceptid>%s|())$" % uuid_regex, RDMView.as_view(), name="rdm"),
    url(r"^admin/reindex/resources$", ReIndexResources.as_view(), name="reindex"),
    url(r"^files/(?P<fileid>%s)$" % uuid_regex, FileView.as_view(), name="file_access"),
    url(r"^concepts/(?P<conceptid>%s)/manage_parents/$" % uuid_regex, concept.manage_parents, name="concept_manage_parents"),
    url(r"^concepts/(?P<conceptid>%s)/confirm_delete/$" % uuid_regex, concept.confirm_delete, name="confirm_delete"),
    url(r"^concepts/(?P<conceptid>%s)/make_collection/$" % uuid_regex, concept.make_collection, name="make_collection"),
    url(r"^concepts/(?P<conceptid>%s|())$" % uuid_regex, concept.concept, name="concept"),
    url(r"^concepts/tree/(?P<mode>.*)", concept.concept_tree, name="concept_tree"),
    url(r"^concepts/search$", concept.search, name="concept_search"),
    url(
        r"^concepts/(?P<conceptid>%s)/from_sparql_endpoint$" % uuid_regex,
Exemplo n.º 2
0
from arches.app.utils.forms import ArchesPasswordResetForm
from arches.app.utils.forms import ArchesSetPasswordForm
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

uuid_regex = settings.UUID_REGEX

urlpatterns = [
    url(r'^$', main.index, name='root'),
    url(r'^index.htm', main.index, name='home'),
    url(r'^auth/password$', ChangePasswordView.as_view(), name='change_password'),
    url(r'^auth/signup$', SignupView.as_view(), name='signup'),
    url(r'^auth/confirm_signup$', ConfirmSignupView.as_view(), name='confirm_signup'),
    url(r'^auth/get_token$', GetTokenView.as_view(), name='get_token'),
    url(r'^auth/get_client_id$', GetClientIdView.as_view(), name='get_client_id'),
    url(r'^auth/user_profile$', UserProfileView.as_view(), name='user_profile'),
    url(r'^auth/', LoginView.as_view(), name='auth'),
    url(r'^rdm/(?P<conceptid>%s|())$' % uuid_regex , RDMView.as_view(), name='rdm'),
    url(r'^admin/reindex/resources$', ReIndexResources.as_view(), name="reindex"),
    url(r'^concepts/(?P<conceptid>%s)/manage_parents/$' % uuid_regex, concept.manage_parents, name="concept_manage_parents"),
    url(r'^concepts/(?P<conceptid>%s)/confirm_delete/$' % uuid_regex, concept.confirm_delete, name="confirm_delete"),
    url(r'^concepts/(?P<conceptid>%s)/make_collection/$' % uuid_regex, concept.make_collection, name="make_collection"),
    url(r'^concepts/(?P<conceptid>%s|())$' % uuid_regex , concept.concept, name="concept"),
    url(r'^concepts/tree/(?P<mode>.*)', concept.concept_tree, name="concept_tree"),
    url(r'^concepts/search$', concept.search, name="concept_search"),
    url(r'^concepts/(?P<conceptid>%s)/from_sparql_endpoint$' % uuid_regex, concept.add_concepts_from_sparql_endpoint, name="from_sparql_endpoint"),
    url(r'^concepts/search_sparql_endpoint$', concept.search_sparql_endpoint_for_concepts, name="search_sparql_endpoint"),
    url(r'^concepts/dropdown', concept.dropdown, name="dropdown"),
    url(r'^concepts/paged_dropdown', concept.paged_dropdown, name="paged_dropdown"),
    url(r'^concepts/export/(?P<conceptid>%s)$' % uuid_regex , concept.export, name="export_concept"),
Exemplo n.º 3
0
uuid_regex = settings.UUID_REGEX

urlpatterns = [
    url(r'^$', main.index, name='root'),
    url(r'^index.htm', main.index, name='home'),
    url(r'^auth/password$',
        ChangePasswordView.as_view(),
        name='change_password'),
    url(r'^auth/signup$', SignupView.as_view(), name='signup'),
    url(r'^auth/confirm_signup$',
        ConfirmSignupView.as_view(),
        name='confirm_signup'),
    url(r'^auth/get_token$', GetTokenView.as_view(), name='get_token'),
    url(r'^auth/get_client_id$',
        GetClientIdView.as_view(),
        name='get_client_id'),
    url(r'^auth/user_profile$', UserProfileView.as_view(),
        name='user_profile'),
    url(r'^auth/', LoginView.as_view(), name='auth'),
    url(r'^rdm/(?P<conceptid>%s|())$' % uuid_regex,
        RDMView.as_view(),
        name='rdm'),
    url(r'^admin/reindex/resources$',
        ReIndexResources.as_view(),
        name="reindex"),
    url(r'^concepts/(?P<conceptid>%s)/manage_parents/$' % uuid_regex,
        concept.manage_parents,
        name="concept_manage_parents"),
    url(r'^concepts/(?P<conceptid>%s)/confirm_delete/$' % uuid_regex,
        concept.confirm_delete,