diff --git a/plain-postgres/plain/postgres/base.py b/plain-postgres/plain/postgres/base.py index 1176ea02c5..fe53df640c 100644 --- a/plain-postgres/plain/postgres/base.py +++ b/plain-postgres/plain/postgres/base.py @@ -120,8 +120,6 @@ def __init__(self, *, _from_db: bool = False, **kwargs: Any): # Process all fields from kwargs or use defaults for field in meta.fields: - from plain.postgres.fields.related import RelatedField - is_related_object = False if isinstance(field, RelatedField) and isinstance( field.remote_field, ForeignObjectRel