Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
15 lines
310 B
Python
15 lines
310 B
Python
from django.contrib.gis.db import models
|
|
|
|
# Create your models here.
|
|
|
|
class Names(models.Model):
|
|
name = models.CharField(max_length=128)
|
|
|
|
def __str__(self):
|
|
return self.name
|
|
|
|
class Collection(Names):
|
|
path = models.LineStringField()
|
|
|
|
class Collection2(Names):
|
|
point = models.PointField() |