예제 #1
0
 url(r'^$', theme.home_router, name='home_router'),
 url(r'^email_verify/(?P<new_email>.*)/(?P<token>[-\w]+)/(?P<uidb36>[-\w]+)/',
     theme.email_verify,
     name='email_verify'),
 url(r'^email_verify_password_reset/(?P<token>[-\w]+)/(?P<uidb36>[-\w]+)/',
     theme.email_verify_password_reset,
     name='email_verify_password_reset'),
 url(r'^verify/(?P<token>[0-9a-zA-Z:_\-]*)/', hs_core_views.verify),
 url(r'^django_irods/', include('django_irods.urls')),
 url(r'^autocomplete/', include('autocomplete_light.urls')),
 url(r'^search/$', DiscoveryView.as_view(), name='haystack_search'),
 url(r'^topics/$',
     hs_communities.views.communities.TopicsView.as_view(),
     name='topics'),
 url(r'^searchjson/$',
     DiscoveryJsonView.as_view(),
     name='haystack_json_search'),
 url(r'^sitemap/$', sitemap, name='sitemap'),
 url(r'^sitemap', include('hs_sitemap.urls')),
 url(r'^groups', hs_core_views.FindGroupsView.as_view(), name='groups'),
 url(r'^communities/$',
     hs_communities.views.communities.FindCommunitiesView.as_view(),
     name='communities'),
 url(r'^community/(?P<community_id>[0-9]+)/$',
     hs_communities.views.communities.CommunityView.as_view(),
     name='community'),
 url(r'^collaborate/$',
     hs_communities.views.communities.CollaborateView.as_view(),
     name='collaborate'),
 url(r'^my-resources/$',
     hs_core_views.MyResourcesView.as_view(),
예제 #2
0
    url(r'^user/$', theme.UserProfileView.as_view()),
    url(r'^user/(?P<user>.*)/', theme.UserProfileView.as_view()),
    url(r'^comment/$', theme.comment),
    url(r'^rating/$', theme.rating),
    url(r'^profile/$', theme.update_user_profile, name='update_profile'),
    url(r'^deactivate_account/$', theme.deactivate_user, name='deactivate_account'),
    url(r'^delete_irods_account/$', theme.delete_irods_account, name='delete_irods_account'),
    url(r'^create_irods_account/$', theme.create_irods_account, name='create_irods_account'),
    url(r'^accounts/login/$', theme.login, name='login'),
    url(r'^email_verify/(?P<new_email>.*)/(?P<token>[-\w]+)/(?P<uidb36>[-\w]+)/',
        theme.email_verify, name='email_verify'),
    url(r'^verify/(?P<token>[0-9a-zA-Z:_\-]*)/', 'hs_core.views.verify'),
    url(r'^django_irods/', include('django_irods.urls')),
    url(r'^autocomplete/', include('autocomplete_light.urls')),
    url(r'^search/$', DiscoveryView.as_view(), name='haystack_search'),
    url(r'^searchjson/$', DiscoveryJsonView.as_view(), name='haystack_json_search'),
    url(r'^sitemap/$', 'hs_sitemap.views.sitemap', name='sitemap'),
    url(r'^collaborate/$', hs_core_views.CollaborateView.as_view(), name='collaborate'),
    url(r'^my-groups/$', hs_core_views.MyGroupsView.as_view(), name='my_groups'),
    url(r'^group/(?P<group_id>[0-9]+)', hs_core_views.GroupView.as_view(), name='group'),
    url(r'^timeseries/sqlite/update/(?P<resource_id>[A-z0-9\-_]+)', hs_ts_views.update_sqlite_file,
        name='update_sqlite_file'),
)

# Filebrowser admin media library.
if getattr(settings, "PACKAGE_NAME_FILEBROWSER") in settings.INSTALLED_APPS:
    urlpatterns += i18n_patterns("",
        ("^admin/media-library/", include("%s.urls" %
                                        settings.PACKAGE_NAME_FILEBROWSER)),
    )
예제 #3
0
        name='new_password_for_reset'),
    url(r'^confirm_reset_password/$', theme.reset_user_password,
        name='confirm_reset_password'),
    url(r'^deactivate_account/$', theme.deactivate_user, name='deactivate_account'),
    url(r'^delete_irods_account/$', theme.delete_irods_account, name='delete_irods_account'),
    url(r'^create_irods_account/$', theme.create_irods_account, name='create_irods_account'),
    url(r'^accounts/login/$', theme.login, name='login'),
    url(r'^email_verify/(?P<new_email>.*)/(?P<token>[-\w]+)/(?P<uidb36>[-\w]+)/',
        theme.email_verify, name='email_verify'),
    url(r'^email_verify_password_reset/(?P<token>[-\w]+)/(?P<uidb36>[-\w]+)/',
        theme.email_verify_password_reset, name='email_verify_password_reset'),
    url(r'^verify/(?P<token>[0-9a-zA-Z:_\-]*)/', hs_core_views.verify),
    url(r'^django_irods/', include('django_irods.urls')),
    url(r'^autocomplete/', include('autocomplete_light.urls')),
    url(r'^search/$', DiscoveryView.as_view(), name='haystack_search'),
    url(r'^searchjson/$', DiscoveryJsonView.as_view(), name='haystack_json_search'),
    url(r'^sitemap/$', sitemap, name='sitemap'),
    url(r'^sitemap', include('hs_sitemap.urls')),
    url(r'^collaborate/$', hs_core_views.CollaborateView.as_view(), name='collaborate'),
    url(r'^my-resources/$', hs_core_views.MyResourcesView.as_view(), name='my_resources'),
    url(r'^my-groups/$', hs_core_views.MyGroupsView.as_view(), name='my_groups'),
    url(r'^group/(?P<group_id>[0-9]+)', hs_core_views.GroupView.as_view(), name='group'),
    url(r'^timeseries/sqlite/update/(?P<resource_id>[A-z0-9\-_]+)', hs_ts_views.update_sqlite_file,
        name='update_sqlite_file'),
    url(r'^apps/$', hs_core_views.apps.AppsView.as_view(), name="apps")
)

# Filebrowser admin media library.
if getattr(settings, "PACKAGE_NAME_FILEBROWSER") in settings.INSTALLED_APPS:
    urlpatterns += i18n_patterns(
        url("^admin/media-library/", include("%s.urls" %