add authorization rule create url pattern
This commit is contained in:
parent
b61dfefbcf
commit
d92e8a07b1
|
@ -9,7 +9,8 @@ from django.views.decorators.debug import sensitive_post_parameters
|
|||
|
||||
from authentic2.utils import import_module_or_class, redirect
|
||||
from . import app_settings, decorators, profile_views, hooks
|
||||
from .views import (logged_in, edit_profile, email_change, email_change_verify, profile)
|
||||
from .views import (logged_in, edit_profile, email_change, email_change_verify, profile,
|
||||
authorization_rule_create_view)
|
||||
|
||||
SET_PASSWORD_FORM_CLASS = import_module_or_class(
|
||||
app_settings.A2_REGISTRATION_SET_PASSWORD_FORM_CLASS)
|
||||
|
@ -94,4 +95,7 @@ urlpatterns = [
|
|||
auth_views.password_reset_done,
|
||||
name='auth_password_reset_done'),
|
||||
url(r'^switch-back/$', profile_views.switch_back, name='a2-switch-back'),
|
||||
url(r'^authz-rule/$',
|
||||
authorization_rule_create_view,
|
||||
name='a2-authz-rule-create'),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue