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 <[email protected]> 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 account?
>
> Details:
> we have site say,www.test.comwhich is a django app. Then we 
> havewww.test.com/muninwhich serves static html-pages. These should only
> be accessible to django admin users. Normally we would use htpasswd
> but maybe there's a nicer solution.
>
> Thanks!

-- 
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.

Reply via email to