am trying to follow the answers provided in Django-Registration & Django-Profile, using your own custom form and Creating a Django Registration Form by Extending Django-Registation Application to extend the django-registration form. I added the following code in url.py
url(r'^accounts/register/$', register, {'backend': 'registration.backends.default.DefaultBackend','form_class': UserRegistrationForm}, name='registration_register'),
(r'^accounts/', include(regUrls)),
but now whenever i access http://localhost:8000/accounts/register/ am getting the following error
register() got an unexpected keyword argument 'form_class'
Please help me out. Why am i getting this error? I goggled a lot but still i could not figure out a solution.