Source code for est.urls

"""URL configuration for the 'est' app."""
from django.urls import path, re_path

from est import views

[docs] app_name = 'est'
[docs] urlpatterns = [ re_path( r'^(?P<domain>[^/]+)(?:/(?P<certtemplate>[^/]+))?/simpleenroll/?$', views.EstSimpleEnrollmentView.as_view(), name='simple-enrollment-post' ), re_path( r'^(?P<domain>[^/]+)(?:/(?P<certtemplate>[^/]+))?/simplereenroll/?$', views.EstSimpleReEnrollmentView.as_view(), name='simple-reenrollment-post' ), re_path( r'^(?P<domain>[^/]+)(?:/(?P<certtemplate>[^/]+))?/cacerts/$', views.EstCACertsView.as_view(), name='ca-certs-post' ), path( '<str:domain>/<str:certtemplate>/csrattrs/', views.EstCsrAttrsView.as_view(), name='csrattrs' ), ]