wireguard: Create URL for client config download action

Signed-off-by: Frederico Gomes <fredericojfgomes@gmail.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Frederico Gomes 2026-03-22 18:50:53 +00:00 committed by James Valleroy
parent 8e9b2a0631
commit ce2ce04979
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -15,6 +15,9 @@ urlpatterns = [
name='add-client'), name='add-client'),
re_path(r'^apps/wireguard/client/auto-add/$', re_path(r'^apps/wireguard/client/auto-add/$',
views.AutoAddClientView.as_view(), name='auto-add-client'), views.AutoAddClientView.as_view(), name='auto-add-client'),
re_path(r'^apps/wireguard/client/auto-add/action/download/$',
views.ClientActionsView.as_view(action='download'),
name='auto-add-client-download'),
re_path(r'^apps/wireguard/client/(?P<public_key>[^/]+)/show/$', re_path(r'^apps/wireguard/client/(?P<public_key>[^/]+)/show/$',
views.ShowClientView.as_view(), name='show-client'), views.ShowClientView.as_view(), name='show-client'),
re_path(r'^apps/wireguard/client/(?P<public_key>[^/]+)/edit/$', re_path(r'^apps/wireguard/client/(?P<public_key>[^/]+)/edit/$',