add data_models list
This commit is contained in:
parent
22f7b28dff
commit
b7f7b2215a
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue
Block a user