We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1d8b8f commit e5b667dCopy full SHA for e5b667d
src/reactpy_django/utils.py
@@ -264,7 +264,7 @@ def django_query_postprocessor(
264
# Force the query to execute
265
getattr(data, field.name, None)
266
267
- if many_to_one and type(field) == ManyToOneRel:
+ if many_to_one and type(field) == ManyToOneRel: # noqa: #E721
268
prefetch_fields.append(field.related_name or f"{field.name}_set")
269
270
elif many_to_many and isinstance(field, ManyToManyField):
0 commit comments