Can I use HTTP Basic Authentication with Django?

前端 未结 7 2218
借酒劲吻你
借酒劲吻你 2020-12-02 12:36

We have a website running on Apache, access to which has a number of static pages protected via HTTP Basic authentication.

I\'ve written a new part of the site with

7条回答
  •  遥遥无期
    2020-12-02 13:03

    There is httpauth.py. I'm still a complete newb with Django so I've no idea how it fits in exactly, but it should do what you're looking for.

    Edit: here's a longer bug thread on the subject.

提交回复
热议问题