Skip to content
Browse files

pass in the request

  • Loading branch information...
1 parent dc18de0 commit abf151900fa0a3e38399e0ffa67b4ae7bc75a1e1 @stefanfoulis stefanfoulis committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 stacks/cms_plugins.py
View
2 stacks/cms_plugins.py
@@ -30,7 +30,7 @@ def render(self, context, instance, placeholder):
def formfield_for_dbfield(self, db_field, request=None, **kwargs):
if db_field.name == "stack":
return StackSearchField(**kwargs)
- return super(StackPlugin, self).formfield_for_dbfield(db_field, request=None, **kwargs)
+ return super(StackPlugin, self).formfield_for_dbfield(db_field, request=request, **kwargs)
plugin_pool.register_plugin(StackPlugin)

0 comments on commit abf1519

Please sign in to comment.
Something went wrong with that request. Please try again.