Re: Limit admin login domain?

2011-05-25 Thread Cal Leeming [Simplicity Media Ltd]
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 

> 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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Limit admin login domain?

2011-05-24 Thread λq
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.