Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(1)  |  Import(1)

src/c/s/cs4970_capstone-HEAD/django_server/server/nationbrowse/places/models.py   cs4970_capstone(Download)
if USE_GIS:
    from django.contrib.gis.db import models
    from django_caching.models import GeoCachedModel as CachedModel
    from django_caching.managers import GeoCachingManager,PolyDeferGeoManager
    from django.contrib.gis.geos import fromstr as geo_from_str
class PolyModel(CachedModel):
    """
    An abstract base class for any model with a polygon region.
    """
    name = models.CharField(max_length=250,db_index=True)