mozilla / django-browserid

Django application for adding BrowserID support.
Mozilla Public License 2.0
180 stars 80 forks source link

Fix docs building #207

Closed willkg closed 10 years ago

willkg commented 10 years ago

To build the docs, we have to be able to import django_browserid.tests.settings. To import that, it first imports django_browserid.tests.init which imports django_browserid.auth which imports something which requires settings, but that's not loaded yet, so everything goes down in a firey spiral of doom.

This fixes that by ridiculously importing those two things in the method they're used rather than at the top level.

r?

Osmose commented 10 years ago

r+ :cat: