Postgre and GIS model fields do not support the db_comment
argument.
#2053
Labels
bug
Something isn't working
db_comment
argument.
#2053
Bug report
Mypy error occurs when using db_comment argumment of model fields in postgre and gis.
What's wrong
You can check the error with the terminal below.
How is that should be
#1492 The contributor to the issue seems to have forgotten to process the postgres and gis fields while adding the value of the db_comment argument. In order to solve the error, add db_comment argument to GeometryField and BaseSpatialField, which are higher classes in ArrayField and PointField.
System information
python
version: 3.11.5django
version: 4.2.11mypy
version: 1.9.0django-stubs
version: 4.2.7django-stubs-ext
version: 4.2.7The text was updated successfully, but these errors were encountered: