Applied the patch proposed by stephane on this thread:
Applied the patch proposed by stephane on this thread:

http://code.google.com/p/django-profile/issues/detail?id=47



git-svn-id: 725adc1733d0d0ea72c607c195ac5a80d687c48e@419 7b2eb738-463f-0410-8820-43b14e3dcc91

twidi/django-profile,twidi/django-profile