cfpb/collab — pull request #6 by makaimc (2014-01-21 15:50:55+00:00)
Title: changing middleware so it doesn't conflict with django admin

Django admin can't be accessed if you have an unregistered user. This is a problem when initially standing up collab - you can't register because there are no offices/teams unless you load a fixture.

The downside to this fix is that if you follow the Django best practice of obfuscating the Django admin URL, this won't work. In the future it should probably pull the admin URL then make sure the middleware doesn't redirect to the registration page.