Re: [RFC 1/3] models: Convert functions to properties

2016-04-11 Thread Finucane, Stephen
On 08 Apr 14:50, Andy Doan wrote: > On 04/01/2016 11:14 AM, Stephen Finucane wrote: > >A number of models contain functions that are, semantically speaking, > >actually properties. Mark them as such. > > > >This also includes a fix for a missing python_2_unicode_compatible > >decorator > > I'm

Re: [RFC 1/3] models: Convert functions to properties

2016-04-08 Thread Andy Doan
On 04/01/2016 11:14 AM, Stephen Finucane wrote: A number of models contain functions that are, semantically speaking, actually properties. Mark them as such. This also includes a fix for a missing python_2_unicode_compatible decorator I'm not sure I see where @python_2_unicode_compatible was

[RFC 1/3] models: Convert functions to properties

2016-04-01 Thread Stephen Finucane
A number of models contain functions that are, semantically speaking, actually properties. Mark them as such. This also includes a fix for a missing python_2_unicode_compatible decorator Signed-off-by: Stephen Finucane --- patchwork/models.py | 15