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

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/c/s/cs4970_capstone-HEAD/django_server/server/nationbrowse/places/models.py   cs4970_capstone(Download)
    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 Nation(PolyModel):
    if USE_GIS:
        objects = PolyDeferGeoManager()
        pobjects = GeoCachingManager()
    else:
class State(PolyModel):
    if USE_GIS:
        objects = PolyDeferGeoManager()
        pobjects = GeoCachingManager()
    else:
class County(PolyModel):
    if USE_GIS:
        objects = PolyDeferGeoManager()
        pobjects = GeoCachingManager()
    else: