Hello Jonathan,

On Tuesday, February 14, 2012 10:38:39 AM UTC-8, Jonathan Hayward wrote:

Do I need to create a separate application under pim and load "<new 
> application>.UserProfile"?


>From the docs...

To indicate that this model is the user profile model for a given site, 
fill in the setting 
AUTH_PROFILE_MODULE<https://docs.djangoproject.com/en/1.3/ref/settings/#std:setting-AUTH_PROFILE_MODULE>with
 a string consisting of the following items, separated by a dot:

   1. The name of the application (case sensitive) in which the user 
   profile model is defined (in other words, the name which was passed to 
   manage.py 
startapp<https://docs.djangoproject.com/en/1.3/ref/django-admin/#django-admin-startapp>to
 create the application).
   2. The name of the model (not case sensitive) class.

For example, if the profile model was a class named UserProfile and was 
defined inside an application named accounts, the appropriate setting would 
be:

AUTH_PROFILE_MODULE = 'accounts.UserProfile'

 
So yes your UserProfile model should be inside of a separate app.  I 
usually call this app accounts just like the docs.  I generally put all my 
models inside an app not at the top level of a project.

Toodle-looooooooo..........
creecode

-- 
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/-/v-G9LkGXdEoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to