TypeError at /accounts/register/ register() got an unexpected keyword argument 'profile_callback'

Sabuj Pattanayek sabujp at gmail.com
Sat Oct 30 09:56:00 EST 2010


Hi,

I did a fresh install of patchwork, now with the hg version of
django-registration (I think it previously used svn) and django 1.2 as
instructed in docs/INSTALL. When I now click on the register link from
the main patchwork page (upper right), I get the following error :

TypeError at /accounts/register/
register() got an unexpected keyword argument 'profile_callback'

Here's the traceback :

Environment:

Request Method: GET
Request URL: http://patchwork.meilerlab.org/accounts/register/
Django Version: 1.2 SVN-14395
Python Version: 2.4.3
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'patchwork',
 'registration']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware')


Traceback:
File "/blue/meilerlab/home/patchwork/lib/python/django/core/handlers/base.py"
in get_response
  100.                     response = callback(request,
*callback_args, **callback_kwargs)

Exception Type: TypeError at /accounts/register/
Exception Value: register() got an unexpected keyword argument
'profile_callback'


Looking at the file apps/urls.py, the problem looks similar to what is
mentioned here :

http://stackoverflow.com/questions/1909617/django-registration-and-user-profile-creation

but, not being a django/django-registration expert, I'm not sure how
to fix. Any help would be greatly appreciated.

Thanks,
Sabuj Pattanayek


More information about the Patchwork mailing list