NoReverseMatch with keyword argument uidb64 with Django 2.0

I can’t understand why my code doesn’t work. Before it worked, but now, when I run the server and test, the code does not work. When the user is registering, I send him activation email, like this: …