from __future__ import print_function
from __future__ import unicode_literals
from __future__ import division

from django.contrib.gis.db import models

from treemap.models import MapFeature


class PolygonalMapFeature(MapFeature):
    area_field_name = 'polygon'
    skip_detail_form = True

    polygon = models.MultiPolygonField(srid=3857)


class Bioswale(PolygonalMapFeature):
    pass

from __future__ import print_function
from __future__ import unicode_literals
from __future__ import division

from django.contrib.gis.db import models

from treemap.models import MapFeature


class PolygonalMapFeature(MapFeature):
    area_field_name = 'polygon'
    skip_detail_form = True

    polygon = models.MultiPolygonField(srid=3857)


class Bioswale(PolygonalMapFeature):
    collection_udf_defaults = {
        'Stewardship': [
            {'name': 'Action',
             'choices': ['Watered',
                         'Pruned',
                         'Mulched, Had Compost Added, or Soil Amended',
                         'Cleared of Trash or Debris'],
             'type': 'choice'},
            {'type': 'date',
             'name': 'Date'}],
    }

Add placeholder defaults for bioswale stewardship
Add placeholder defaults for bioswale stewardship

  from __future__ import print_function
  from __future__ import unicode_literals
  from __future__ import division
  
  from django.contrib.gis.db import models
  
  from treemap.models import MapFeature
  
  
  class PolygonalMapFeature(MapFeature):
      area_field_name = 'polygon'
      skip_detail_form = True
  
      polygon = models.MultiPolygonField(srid=3857)
  
  
  class Bioswale(PolygonalMapFeature):
-     pass
+     collection_udf_defaults = {
+         'Stewardship': [
+             {'name': 'Action',
+              'choices': ['Watered',
+                          'Pruned',
+                          'Mulched, Had Compost Added, or Soil Amended',
+                          'Cleared of Trash or Debris'],
+              'type': 'choice'},
+             {'type': 'date',
+              'name': 'Date'}],
+     }
  
Add placeholder defaults for bioswale stewardship
## Code Before:
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import division

from django.contrib.gis.db import models

from treemap.models import MapFeature


class PolygonalMapFeature(MapFeature):
    area_field_name = 'polygon'
    skip_detail_form = True

    polygon = models.MultiPolygonField(srid=3857)


class Bioswale(PolygonalMapFeature):
    pass

## Instruction:
Add placeholder defaults for bioswale stewardship
## Code After:
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import division

from django.contrib.gis.db import models

from treemap.models import MapFeature


class PolygonalMapFeature(MapFeature):
    area_field_name = 'polygon'
    skip_detail_form = True

    polygon = models.MultiPolygonField(srid=3857)


class Bioswale(PolygonalMapFeature):
    collection_udf_defaults = {
        'Stewardship': [
            {'name': 'Action',
             'choices': ['Watered',
                         'Pruned',
                         'Mulched, Had Compost Added, or Soil Amended',
                         'Cleared of Trash or Debris'],
             'type': 'choice'},
            {'type': 'date',
             'name': 'Date'}],
    }
