Add manage invites page.

This commit is contained in:
Adam Kelly
2020-06-03 17:38:30 +01:00
parent 48f7fd34a7
commit 70e69f73cb
8 changed files with 122 additions and 4 deletions

View File

@ -36,6 +36,7 @@ urlpatterns = [
re_path(r'^login/?$', views.login_page),
re_path(r'^about/?$', views.about_page),
re_path(r'^invite/(?P<code>[A-Za-z0-9]+)/?$', views.invite_page),
re_path(r'^manage_invites/?$', views.manage_invites),
path('', views.home),
re_path(r'^(?P<tab>home|local|federated)/?$', views.home_tab),
@ -104,4 +105,6 @@ urlpatterns = [
re_path(r'^clear-notifications/?$', actions.clear_notifications),
re_path(r'^create_invite/?$', actions.create_invite),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)