How to decode a https response url in django

What version of Python for each?

local environment : 3.10.11
production server : 3.8.18

could it be the cause?

It returns this:

NoReverseMatch at /register/

Reverse for ‘activate’ with keyword arguments ‘{‘uidb64’: ‘OTk’, ‘token’: ‘c1todx-c124f633cce978a933b246555a4bb19e’}’ not found. 1 pattern(s) tried: [‘activate/(?P[0-9A-Za-z_\-]+)/(?P[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/’]

Notice that your token doesn’t satisfy the defined regex pattern for that field.

Oh…

Pls, How can I solve this?

Fix the regex in your url definition such that the provided token is going to match.

Thanks… I will work on it now

Solved… Thanks Ken and Antonie

I changed the url to

path('verify-email-confirm/<uidb64>/<token>/', views.activate, name='activate')