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

Can`t use render_to_string without a given request #88

Closed
Myzel394 opened this issue Mar 21, 2020 · 1 comment
Closed

Can`t use render_to_string without a given request #88

Myzel394 opened this issue Mar 21, 2020 · 1 comment

Comments

@Myzel394
Copy link

If I don`t pass a request object, I always get this error:

You must enable the 'sekizai.context_processors.sekizai' template context processor or use 'sekizai.context.SekizaiContext' to render your templates.

If you know how to solve this error, please let me know.

@FinalAngel
Copy link
Member

@Myzel394 make sure to configure it correctly, depending on the Django version used: https://django-sekizai.readthedocs.io/en/latest/#configuration

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

No branches or pull requests

2 participants