[patch] extra_lookup_kwargs and extra_context in infodicts should accept callbacks
|Reported by:||hugo||Owned by:||Jacob|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
the callback should be called with the request and the dict of the parsed urlpattern to allow dynamic creation of extra_lookup_kwargs based on url parts or request.GET stuff (for example to throw in some filtering).
Change History (9)
comment:3 Changed 11 years ago by
|Summary:||extra_lookup_kwargs and extra_context in infodicts should accept callbacks → [patch] extra_lookup_kwargs and extra_context in infodicts should accept callbacks|