Opened 17 years ago

Last modified 17 years ago

#4626 closed

pass the context to extra_context functions — at Initial Version

Reported by: bennydaon@… Owned by: nobody
Component: Generic views Version: dev
Severity: Keywords:
Cc: sciyoshi@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I found it helpful for extra_context functions to have access to the context.
The change is in line 80:

< if callable(value):
< c[key] = value()

if callable(value):

c[key] = value(c)

I'm not sure who decides on whether it should go to the version - it does changes the API

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top