Re: Simple example of custom user profile fields?
Unfortunately, no matter what kind of path I put for
AUTH_PROFILE_MODULE, the same error appears.
On Jul 12, 5:51 pm, Andre Terra <andrete...@gmail.com> wrote:
> As the traceback helpfully states,
>
> Exception Type: SiteProfileNotAvailable at /profile/Exception Value:
> Unable to load the profile model, check AUTH_PROFILE_MODULE in your
> project settings
>
> http://www.google.com/search?&q=django+Unable+to+load+the+profile+mod...
>
> check out the first result.
>
> Cheers,
> André
>
> On Tue, Jul 12, 2011 at 8:09 PM, Brent <brentba...@gmail.com> wrote:
> > Good idea. Unfortunately, I tried that, but it results in a
> > SiteProfileNotAvailable error:
>
> >http://dpaste.com/567421/
>
> > On Jul 12, 3:15 pm, Andre Terra <andrete...@gmail.com> wrote:
> > > Instead of using get or create, why not setting up a post_save signal
> > > for the User model so that users always have a profile associated with
> > > them?
>
> > > Cheers,
> > > Andre
>
> > > On 7/12/11, Brent <brentba...@gmail.com> wrote:
>
> > > > Thanks for the help guys.
>
> > > > Micky, that tutorial looks very good. I think I almost have it
> > > > working. Just one more error:
>
> > > >http://dpaste.com/567361/
>
> > > > Andre, thanks for mentioning Pinax. I'll give it a shot if this
> > > > doesn't work out. I have a year of python experience, but I haven't
> > > > written anything web/database related.
>
> > > > On Jul 12, 11:34 am, Micky Hulse <rgmi...@gmail.com> wrote:
> > > >> This tutorial helped me:
>
> > > >>http://www.turnkeylinux.org/blog/django-profile
>
> > > >> Note: The above tutorial uses an FK to User model... The Django docs
> > > >> suggest a OneToOne field.
>
> > > >> Hope that helps.
>
> > > >> Micky
>
> > > > --
> > > > 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.
>
> > > --
> > > Sent from my mobile device
>
> > --
> > 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.
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home