Skip to content

Commit

Permalink
Change to rsplit
Browse files Browse the repository at this point in the history
  • Loading branch information
jkimbo committed Sep 22, 2019
1 parent 54712a6 commit 0e7fca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphene_django/filter/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def get_filtering_args_from_filterset(filterset_class, type):
form_field = filter_field.field
else:
try:
field_name, filter_type = name.split("__", 1)
field_name, filter_type = name.rsplit("__", 1)
except ValueError:
field_name = name
filter_type = None
Expand Down

0 comments on commit 0e7fca8

Please sign in to comment.