import uuid from django.db import models # Create your models here. from djgeojson.fields import PointField class Address(models.Model): id = models.UUIDField('id', primary_key=True, default=uuid.uuid4) name = models.CharField('区域', max_length=256, null=False) geom = PointField()