mirror of
https://github.com/HaitiData/haitidata.git
synced 2026-11-03 05:25:47 +00:00
12 lines
539 B
Python
12 lines
539 B
Python
from django.db import models
|
|
|
|
from geonode.base.models import Region
|
|
|
|
|
|
class RegionBBox(models.Model):
|
|
region = models.OneToOneField(Region, on_delete=models.CASCADE)
|
|
bbox_x0 = models.DecimalField(max_digits=19, decimal_places=10, blank=True, null=True)
|
|
bbox_x1 = models.DecimalField(max_digits=19, decimal_places=10, blank=True, null=True)
|
|
bbox_y0 = models.DecimalField(max_digits=19, decimal_places=10, blank=True, null=True)
|
|
bbox_y1 = models.DecimalField(max_digits=19, decimal_places=10, blank=True, null=True)
|