django.contrib.auth.views.login depends on sites framework
|Reported by:||olau@…||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The handy login view appears to be depending on the sites framework for the sole reason of providing the site name in the context given to the template. Would it be possible to add the site name only if the sites framework is installed, turning the framework into a soft dependency?
I run a single site so I don't need the sites framework. It just confuses my users when it turns up in the admin.
Change History (4)
comment:1 Changed 9 years ago by mtredinnick
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:3 Changed 9 years ago by SmileyChris
- Resolution set to worksforme
- Status changed from new to closed