mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-23 02:22:08 +03:00
Change to rsplit
This commit is contained in:
parent
54712a67ff
commit
0e7fca8afe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user