Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bakery doesn't run MIDDLEWARE_CLASSES/MIDDLEWARES on build #132

Open
Rafalonso opened this issue Oct 29, 2018 · 3 comments
Open

Bakery doesn't run MIDDLEWARE_CLASSES/MIDDLEWARES on build #132

Rafalonso opened this issue Oct 29, 2018 · 3 comments
Labels

Comments

@Rafalonso
Copy link

How can I make this happen? I'm using BuildableTemplateView.

Django 1.8
django-bakery 0.12.6

@palewire
Copy link
Owner

palewire commented Dec 5, 2018

Can you tell me more about your bug?

@palewire palewire added the bug label Dec 5, 2018
@Rafalonso
Copy link
Author

I don't believe this is a bug but a feature. Even though it does run TEMPLATE_CONTEXT_PROCESSORS as desired, it does not run MIDDLEWARES. Makes sense since middlewares handle dynamic requests. Would be nice though to force bakery to run them with a flag.

@palewire
Copy link
Owner

palewire commented Dec 5, 2018

What's the use case for needing the middleware?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants