add django-pydantic-field
This commit is contained in:
parent
703d39ebd6
commit
6d461e3134
2 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ shapely_logger = logging.getLogger('shapely.geos')
|
|||
|
||||
|
||||
class GeometryField(models.JSONField):
|
||||
# todo: could this use django-pydantic-field? should it?
|
||||
default_validators = [validate_geometry]
|
||||
|
||||
def __init__(self, geomtype=None, default=None, null=False, blank=False, help_text=None):
|
||||
|
|
|
@ -4,6 +4,7 @@ django-compressor==4.5.1
|
|||
csscompressor==0.9.5
|
||||
django-ninja==1.2.2
|
||||
pydantic-extra-types==2.5.0
|
||||
django-pydantic-field==0.3.10
|
||||
django-filter==23.5
|
||||
django-environ==0.11.2
|
||||
shapely==2.0.5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue