djangosnippets.org: Latest snippets posted by TheMysteriousXhttps://djangosnippets.org/users/TheMysteriousX/2011-05-07T21:01:14.565967-05:00TheMysteriousXFirstRun Middleware
2011-05-07T21:01:14.565967-05:00TheMysteriousXhttps://djangosnippets.org/snippets/2430/<p>Simple piece of middleware that redirects all requests to <strong>settings.FIRSTRUN_APP_PATH</strong>, until a lockfile is created.</p>
<p>Tested on 1.3 only, but I do not believe it requires any special functionality beyond that provided in 1.1</p>
<p>This is useful if you need to force a user to run an installer, or …</p>
Freely redistributable