Hi, I want to check if I do understand middleware usage within Pylons correctly. My ImplicitAuthentication middleware is used to force authentication on all URLs except those exempted from this check (configured as part of pylons.config).
This works fine with the default signin page, but once I've switched to my template (jinja2), I'm having problems with registered globals which are registered as part of PylonsApp.setup_app_new (more specifically register_globals). That's where I'm getting slightly confused, as I don't see reason for the need to pass whole middleware stack just to get globals registered and/or not having choice to use same templating engine as for the rest of the templates. I would expect the register_globals to happen much earlier in the stack. Therefore I'd like to ask what's the recommended way how to reverse middleware stack and still have ability to use registry/globals/etc? Thanks Radim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
