After some digging it seems that in new django (SVN) the function
is located somewhere else.
This worked for me.
---------------------------------------------------------
from django.contrib.admin import sites
def _redirect_login(request, *args, **kwargs):
return HttpResponseRedirect('http://www.google.com')
sites.AdminSite.display_login_form = _redirect_login
---------------------------------------------------------
Regards,
A. Davo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
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
-~----------~----~----~----~------~----~------~--~---