[Answered ]-No reverse match when rendering an email template with uid/token variable

1👍

The error seems to be raised because your token has 32 characters, but the regex only expects up to 20. Try to change the regex to:

r'^activate/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,32})/$'
                                                                   # Change to 32 ^^

Leave a comment