Skip to content
Snippets Groups Projects
Select Git revision
  • 0c392d02b399e597db443647ed0b85dc6fc690f6
  • master default protected
  • pipeline
  • dev
  • quality
  • docs
  • issue-65
  • issue-30
  • issue-19
  • issue-28
  • 0.1.1
  • 0.1.0
12 results

urls.py

Blame
  • James Graham's avatar
    James Graham authored
    Accounts for them to be created to manage e.g. research projects
    0c392d02
    History
    urls.py 584 B
    from django.urls import include, path
    
    from . import views
    
    app_name = 'profiles'
    
    urlpatterns = [
        path('', include('django.contrib.auth.urls')),
    
        path('profile',
             views.user.UserProfileView.as_view(),
             name='profile'),
    
        path('inactive',
             views.user.UserInactiveView.as_view(),
             name='inactive'),
    
        path('uri/<int:pk>',
             views.user.UserUriView.as_view(),
             name='uri'),
    
        path('orgunit/<int:pk>',
             views.organisational_unit.OrganisationalUnitDetailView.as_view(),
             name='organisational_unit.detail'),
    ]