Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

pass in the request

  • Loading branch information...
commit abf151900fa0a3e38399e0ffa67b4ae7bc75a1e1 1 parent dc18de0
@stefanfoulis stefanfoulis authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.