Opened 16 years ago
Last modified 13 years ago
#9992 closed
get_profile / get_model issue, capitalisation of AUTH_PROFILE_MODULE — at Version 2
Description (last modified by ) ¶
The docs lead one to expect that given an app name Profile
, a AUTH_PROFILE_MODULE
setting of profile.modelname
would work, but Profile.modelname
is actually correct.
http://docs.djangoproject.com/en/dev/topics/auth/#auth-profiles claims that AUTH_PROFILE_MODULE
is "The (normalized to lower-case) name of the application in which the user profile model is defined (in other words, an all-lowercase version of the name which was passed to manage.py startapp
to create the application)."
This is wrong; the app_label
part is the a python module, and hence case-sensitive.
Change History (3)
by , 16 years ago
Attachment: | debug.tar.gz added |
---|
comment:2 by , 16 years ago
Description: | modified (diff) |
---|---|
milestone: | → 1.1 |
Triage Stage: | Unreviewed → Accepted |
[trimmed excessive explanation; this is actually a very simple doc fix]
Tar file of complete Django site to demonstrate the problem.