You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a module using from django.contrib.gis.db import models, references to models.CheckConstraint(check=...) are not fixed. Django re-exposes everything from django.db.models in django.contrib.gis.db.models for convenience, so the fixer should handle that.
Probably other fixers need to handle this alias module too.
The text was updated successfully, but these errors were encountered:
Python Version
3.12
Django Version
5.1
Package Version
1.22.1
Description
In a module using
from django.contrib.gis.db import models
, references tomodels.CheckConstraint(check=...)
are not fixed. Django re-exposes everything fromdjango.db.models
indjango.contrib.gis.db.models
for convenience, so the fixer should handle that.Probably other fixers need to handle this alias module too.
The text was updated successfully, but these errors were encountered: