Clark,
The reverse call just uses kwargs to find out which pattern it matches
to. If your url regex was r'^register/(?P\w+)/', then you
would pass kwarg1 as a kwarg to reverse. You are not trying to find a
url with a kwarg in the regex, so you shouldn't be adding that in the
reverse call. You just
The urlconf:
url(r'^register/$',
register,
{ 'backend':
'registration.backends.default.DefaultBackend' },
name='registration_register'),
The view:
def register(request, backend, success_url=N
2 matches
Mail list logo