add data_models list

This commit is contained in:
Sanj 2012-06-14 01:18:25 +05:30
parent 22f7b28dff
commit b7f7b2215a

View File

@ -1,6 +1,9 @@
from base.models import BaseModel
from django.contrib.gis.db import models
class OpenSpace(BaseModel):
ward = models.CharField(max_length=4, blank=True)
reservation = models.CharField(max_length=16, blank=True)
@ -88,3 +91,5 @@ class PedestrianAvenue(BaseModel):
def __unicode__(self):
return self.name
data_models = [OpenSpace, Forest, Fort, HillForest, Waterfront, Beach, River, CreekWetland, WaterBody, Nullah, MillLand, PedesterianAvenue]