django.contrib.auth assumes all applications are hosted in their top level package
|Reported by:||tiberiu_ichim||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
File "django/contrib/auth/models.py", line 283, in get_profile has
app_label, model_name = settings.AUTH_PROFILE_MODULE.split('.')
What if I want my AUTH_PROFILE_MODULE to be
AUTH_PROFILE_MODULE = 'pinax.apps.basic_profiles.Profile'
Of course, it's not possible. Seems like a basic design mistake of that piece of code.
Change History (4)
comment:1 Changed 7 years ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Resolution set to invalid
- Status changed from new to closed