Sunil Mohan Adapa f34cb78867
middleware: Fix anonymous access to setup view
Django runs process_request() on all the middleware classes in order.
Then it runs process_view() on all of them again.  During the runs, if
any of the views return a HttpResponse.  Further processing is ignored.

Setup middleware was handling process_request() and returning
HttpResponse if the application as not setup.  However, stronghold
middleware handles process_view().  Since process_request happens first
and response is being returned there, stronghold middleware is never
called.

Make setup middleware use process_view() instead.
2016-06-02 20:13:35 -04:00
..
2016-05-14 15:49:12 +02:00
2016-05-29 21:07:07 +05:30
2016-05-14 11:43:06 -04:00
2016-05-29 21:07:07 +05:30
2016-05-29 21:07:07 +05:30
2016-05-11 18:19:42 -04:00
2016-05-08 10:46:57 +05:30
2015-11-25 15:22:27 +01:00
2016-05-11 18:19:42 -04:00