Skip to content

Commit eda2086

Browse files
committed
Add the application content configuration to _feincms_extra_context, too
1 parent d13ab55 commit eda2086

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

feincms/content/application/models.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,10 @@ def process(self, request, **kw):
367367
# context_processor
368368
request._feincms_extra_context.update(self.parameters)
369369

370+
# Save the application configuration for reuse elsewhere
371+
request._feincms_extra_context.update({'app_config': dict(self.app_config,
372+
urlconf_path=self.urlconf_path)})
373+
370374
view_wrapper = self.app_config.get("view_wrapper", None)
371375
if view_wrapper:
372376
fn = partial(

0 commit comments

Comments
 (0)