Wednesday, December 26, 2012

Using django-profiles app twice in one project.

I'm trying to use three different instances of the django-profiles app in one project (developed here: https://bitbucket.org/ubernostrum/django-profiles).  I can make the whole thing work fine with one instance, but when I create the three different instances with different names, I get this error:  "Exception Value:   Unable to load the profile model, check AUTH_PROFILE_MODULE in your project settings."  Is there a way to create thee different AUTH_PROFILE_MODULE settings?

I know this is probably not the best practice, but it's something we need to hack for now

I'm able to get django-profiles (
https://bitbucket.org/ubernostrum/django-profiles) working fine as one app (vendor), but when I try to run two apps (vendor and coordinator) I get this error: "Exception Value:   Unable to load the profile model, check AUTH_PROFILE_MODULE in your project settings.".  I know it's because I need this variable to point at the profile app, but is there a way that I can either 1) Point it two places, or 2) create a new variable for it to resolve to?

I'm lost.

Best,

Mark

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/MmTnwcbE8cEJ.
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