Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
added setting for enabling the select2 widget #21
commented on the diff
Mar 15, 2013
|@@ -28,8 +30,9 @@ def render(self, context, instance, placeholder):|
|def formfield_for_dbfield(self, db_field, request=None, **kwargs):|
|- if db_field.name == "stack":|
|- return StackSearchField(**kwargs)|
|+ if getattr(settings, 'DJANGOCMS_STACKS_USE_SELECT2', False):|