Yup, you can. But, you have to use multihost.py middleware. Google for django multihost :)
(we had the exact same requirement, and this is how we resolved it. Also, multihost is a billion times nicer than the sites framework that comes with Django, imho).
Cal
2011/5/25 λq <lambdaq@gmail.com>
Hi guys,Can I limit only a certain domain can login into django admin?Without running multiple django instances. Is it possible?Thanks--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment