But it doesn't need to be a property to be calculated.  It could be
calculate_dailywakeup_bucket().


On Fri, Nov 15, 2013 at 4:49 PM, Gordon Morehouse
<notifications@github.com>wrote:

> In subscriptions/models.py:
>
> > +        0 = 0:00 - 0:29:59 UTC delivery time
> > +        1 = 0:30 - 0:59:59 UTC delivery time
> > +        2 = 1:00 - 1:29:59 UTC delivery time
> > +        ..
> > +        47 = 23:30 - 23:59:59 UTC delivery time
> > +
> > +        This is a property because doing it thusly is DST-resistant.
> > +
> > +        Returns:
> > +            int between 0 and 47.  See description.
> > +        """
> > +        return sanetime_to_bucket(self.get_local_noon_dt())
> > +
> > +
> > +    @property
> > +    def dailywakeup_bucket_property(self):  # so named due to conflict with model field
>
> Chicken and egg; it needs to be calculated to be saved.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/gordon-morehouse/share2grandma/pull/27/files#r7707101>
> .
>