Files
vulhub/django/CVE-2020-9402/src/vuln/models.py
Aaron 63285f61aa
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
first commit
2025-09-06 16:08:15 +08:00

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()