Ah, forgot about "treemap.decorators"... that is totally where it belongs


On Thu, Mar 20, 2014 at 4:52 PM, Michael Maurizi
<notifications@github.com>wrote:

> In opentreemap/treemap/models.py:
>
> > @@ -526,6 +526,11 @@ def __unicode__(self):
> >          return '%s/%s' % (self.user.get_username(), self.instance.name)
> >
> >
> > +class classproperty(property):
> > +    def __get__(self, cls, owner):
> > +        return classmethod(self.fget).__get__(None, owner)()
>
> +1 I had been considering bringing this exact helper in previously for use
> on the map_feature_type property.
> Consider moving it to treemap.decorators
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/OpenTreeMap/OTM2/pull/1218/files#r10815756>
> .
>



-- 
Adam Hinz
Software Engineer, Azavea
hinz.adam@gmail.com | c: 608-445-8391 | Twitter: @ahinz