bugfix 19139: Make OpenLayersWidget respect GeoModelAdmin's modifiable attribute

ref https://code.djangoproject.com/ticket/19139
oops, sorry about that :)


On Mon, Aug 4, 2014 at 12:20 PM, Tim Graham <notifications@github.com>
wrote:

> In django/contrib/gis/tests/geoadmin/tests.py:
>
> >          self.assertIn(
> >              """geodjango_point.layers.base = new OpenLayers.Layer.OSM("OpenStreetMap (Mapnik)");""",
> >              result)
> >
> > +        self.assertIn(
> > +            """<a href="javascript:geodjango_point.clearFeatures()">%s</a>""" % delete_all_text,
>
> I meant for the entire string here to be a constant; otherwise looks good
> to me.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/django/django/pull/3019/files#r15767584>.
>