We should do this properly ..

This commit is contained in:
Peter Pfeufer 2022-02-02 15:28:36 +01:00
parent 9166886665
commit b14bff0145
No known key found for this signature in database
GPG Key ID: 6051D2C6AD4EBC27

View File

@ -5,7 +5,7 @@ from django.urls import re_path
from django.urls import path from django.urls import path
urlpatterns = [ urlpatterns = [
path('^activate/complete/$', views.activation_complete, name='registration_activation_complete'), path('activate/complete/', views.activation_complete, name='registration_activation_complete'),
# The activation key can make use of any character from the # The activation key can make use of any character from the
# URL-safe base64 alphabet, plus the colon as a separator. # URL-safe base64 alphabet, plus the colon as a separator.
re_path(r'^activate/(?P<activation_key>[-:\w]+)/$', views.ActivationView.as_view(), name='registration_activate'), re_path(r'^activate/(?P<activation_key>[-:\w]+)/$', views.ActivationView.as_view(), name='registration_activate'),