Skip to content

Commit

Permalink
Fixing travis' build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
epoiate authored and jpic committed Oct 31, 2020
1 parent fc862db commit d498fec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dal_select2/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,10 @@ class Select2GroupQuerySetView(Select2QuerySetView):
related_field_name = 'name'

def get_results(self, context):
"""Returns the options grouped by a common related model.
"""Return the options grouped by a common related model.
Raises ImproperlyConfigured if self.group_by_name is not configured
"""

if not self.group_by_related:
raise ImproperlyConfigured("Missing group_by_related.")

Expand Down

1 comment on commit d498fec

@jpic
Copy link
Member

@jpic jpic commented on d498fec Oct 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And thank you for that one too !

🎩

Please sign in to comment.