django - protect some web paths with basic authentication
问题 i'm fairly new to django and just trying a couple simple experiments to get my feet wet. i'm running django 1.0, apache2 prefork and mod_wsgi. I'm trying to build a site with the following url structure / /members /admin the root is basically a public area. the members path should be protected using basic-authentication (probably authenticated by apache) the admin path should be protected using the built in django authentication. following the examples in documentation i can basically protect