Saturday, July 28, 2012

Re: Django Userena Problem

Hi all,

I kind of got over with the last problem but got stuck in step after that.
The previous problem was solved by naming the model to the first one,
Since that table was already created django refused to create the same
table structure against different name whatsoever.

However now, once past sign in or signup forms, when it comes to fetch
the profile using get_profiles(). I am getting a
SiteProfileNotAvailable error for already existing accounts but no
profile
and
UserProfile matching query does not exist.

while for new signups I get a 'UserProfile' object has no attribute
'can_view_profile'

Documentation says the AUTH_PROFILE_MODULE should point to
appName.ModelName and it is okay in my case. users.UserProfile.

What am I missing here?



-------------
Regards
Subhodip Biswas


GPG key : FAEA34AB
Server : pgp.mit.edu
http://subhodipbiswas.wordpress.com
http:/www.fedoraproject.org/wiki/SubhodipBiswas

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment