Middleware
hypha.apply.projects.middleware
¶
ProjectsEnabledMiddleware
¶
Middleware to control access to project urls based on PROJECTS_ENABLED setting.
This makes the decision at runtime rather than at URL pattern registration time, avoiding potential issues with module loading order and settings configuration.