#31484: Possibility to provide additional Context to Render a FlatPage.
-------------------------------------+-------------------------------------
Reporter: thaxy | Owner: nobody
Type: New feature | Status: closed
Component: contrib.flatpages | Version: master
Severity: Normal | Resolution: wontfix
Keywords: flatpage context | Triage Stage:
template render | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Adam (Chainz) Johnson):
You can add custom context with a context processor:
https://docs.djangoproject.com/en/3.0/ref/templates/api/#writing-your-own-
context-processors .
Maybe that is more suitable for your use case?
--
Ticket URL: <https://code.djangoproject.com/ticket/31484#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.bf921fd92b9d866dffa42b1ec71a1407%40djangoproject.com.