Skip to content

Commit

Permalink
removed debug print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Oct 31, 2018
1 parent 459ab44 commit 56bd843
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tags_input/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,8 @@ def formfield_for_manytomany(self, db_field, request=None, **kwargs):
tag_fields = self.get_tag_fields()

if tag_fields and db_field.name not in tag_fields:
print('in fields', tag_fields, db_field.name)
return super(TagsInputMixin, self).formfield_for_manytomany(
db_field, request, **kwargs)
else:
print('nin fields', tag_fields, db_field.name)

queryset = db_field.related_model._default_manager.get_queryset()
# queryset = db_field.rel.to._default_manager.get_queryset()
Expand Down

0 comments on commit 56bd843

Please sign in to comment.