|
Though not documented, OSQA modules provide a rather flexible plug-in architecture for the application. OSQA modules can supplement the app’s URL structure, and provide additional startup code, views, templates, database models, and user authentication providers. To provide even greater flexibility, I would like to suggest that OSQA provide the facility for modules to contain Django middleware classes. OSQA could implement its own The main use case I would have for this facility would be supporting automatic user logins based on the session cookie of another application running on the same domain, and for which I have already written an OSQA authentication module. |
|
The code on trunk already does what you're looking for, just add a variable named MIDDLEWARE_CLASSES on the
|
Would you be willing to post that code? I'm working on the same thing, and that would shortcut a bunch of development. Thanks!
Post what code, specifically, @JonathanB?