Docs updated

This commit is contained in:
Peter Pfeufer
2022-02-02 15:25:45 +01:00
parent 640a21e4db
commit c74010d441
2 changed files with 14 additions and 5 deletions

View File

@@ -34,12 +34,12 @@ An app called `plugin` provides a single view:
The app's `urls.py` would look like so:
from django.conf.urls import url
from django.urls import path
import plugin.views
urlpatterns = [
re_path(r^'index$', plugins.views.index, name='index'),
]
path('index/', plugins.views.index, name='index'),
]
Subsequently it would implement the UrlHook in a dedicated `auth_hooks.py` file like so: