Skip to content

Commit

Permalink
check if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
lautarodapin committed Nov 10, 2024
1 parent 87a9194 commit 8cbc73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangoql/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def get_field_instance(self, model, field_name):
return field_cls(**field_kwargs)

def get_field_cls(self, field):
if isinstance(field, GeneratedField):
if GeneratedField and isinstance(field, GeneratedField):
field = field.output_field
str_fields = (
models.CharField,
Expand Down

0 comments on commit 8cbc73e

Please sign in to comment.