Jump to >

djblets.siteconfig.middleware

class SettingsMiddleware[source]

Bases: object

Middleware that performs necessary operations for siteconfig settings.

Right now, the primary responsibility is to check on each request if the settings have expired, so that a web server worker process doesn’t end up with a stale view of the site settings.

process_request(request)[source]