Re: use django authentication for non-django pages

2010-10-15 Thread clee
On Oct 15, 2:12 am, bowlby wrote: > We're hosting a small site on our own server. On the server we have > some pages that are non-django (for example munin to see server > statistics). Is there a way to use django's authentication mechanism > to reserve access to these pages to users who have an a

Re: use django authentication for non-django pages

2010-10-15 Thread Devin M
You could use a template in django if your only serving some static html. Otherwise if its php or something, make a template and restrict it to admin and have the view render the php and spit it out to the page context. On Oct 15, 2:12 am, bowlby wrote: > We're hosting a small site on our own ser

use django authentication for non-django pages

2010-10-15 Thread bowlby
We're hosting a small site on our own server. On the server we have some pages that are non-django (for example munin to see server statistics). Is there a way to use django's authentication mechanism to reserve access to these pages to users who have an account? Details: we have site say, www.tes