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.
Plinth
Plinth - a web front end for administering FreedomBox
Description
FreedomBox is a community project to develop, design and promote personal servers running free software for private, personal communications. It is a networking appliance designed to allow interfacing with the rest of the Internet under conditions of protected privacy and data security. It hosts applications such as blog, wiki, website, social network, email, web proxy and a Tor relay, on a device that can replace your Wi-Fi router, so that your data stays with you.
Plinth is a web interface to administer the functions of the FreedomBox. It is extensible and provides various applications of FreedomBox as modules. Each module or application provides simplified user interface to control the underlying functionality. As FreedomBox can act as a wireless router, it is possible to configure networking from Plinth. Plinth also allows configuration of basic system parameters such as time zone, hostname and automatic upgrades.
You can find more information about Plinth on the Plinth Wiki page, the FreedomBox Wiki and the FreedomBox Manual.
Getting Started
See the INSTALL file for additional details and dependencies. To install run:
$ sudo python3 setup.py install
Run Plinth on the local system with:
$ sudo plinth
Contributing
See the HACKING file for contributing to Plinth.
