2011-09-17 19:54:52 +00:00
|
|
|
from django.contrib.gis.db import models
|
|
|
|
|
2013-11-02 20:12:09 +00:00
|
|
|
|
2011-09-17 19:54:52 +00:00
|
|
|
class AllOGRFields(models.Model):
|
2014-01-01 10:01:46 +00:00
|
|
|
|
2011-09-17 19:54:52 +00:00
|
|
|
f_decimal = models.FloatField()
|
|
|
|
f_float = models.FloatField()
|
|
|
|
f_int = models.IntegerField()
|
|
|
|
f_char = models.CharField(max_length=10)
|
|
|
|
f_date = models.DateField()
|
|
|
|
f_datetime = models.DateTimeField()
|
|
|
|
f_time = models.TimeField()
|
|
|
|
geom = models.PolygonField()
|
2013-09-12 08:30:45 +00:00
|
|
|
point = models.PointField()
|
2011-09-17 19:54:52 +00:00
|
|
|
|
|
|
|
objects = models.GeoManager()
|