bread-and-pepper/django-userena — Issue #153: SiteProfileNotAvailable exception
Author: osuburger
Created: 2012-01-26 02:15:18+00:00
State: open

So I've followed all the steps to install Userena and subclass UserenaBaseClass to my profile model, but now whenever I access a page on my website I get the following error:

Exception Type:	SiteProfileNotAvailable
Exception Location:	/Library/Python/2.7/site-packages/userena/utils.py in get_profile_model, line 116

In my settings.py file I have:
AUTH_PROFILE_MODULE = 'login.UserProfile'

In my login app, in the models class, I defined the following:
class UserProfile(UserenaBaseProfile):
#Default class
user = models.OneToOneField(User, unique=True, related_name='user_profile', verbose_name='user_profile')

I'm not really sure why it is able to find the settings.AUTH_PROFILE_MODULE value (because it passes through the check in line 110 of utils.py without raising an exception) but it raises an exception because the value for profile_mod is apparently None. Any ideas that could possibly help?