1 from django.contrib.gis.db import models 2 3 -class KmlCache(models.Model): 4 - def __unicode__(self): 5 return u"%s" % (self.key) 6 key = models.CharField(max_length=250,unique=True, blank=False) 7 kml_text = models.TextField(default='') 8