django-schedule icon indicating copy to clipboard operation
django-schedule copied to clipboard

occurrences_after relays on Event.end_recurring_period to be present

Open jinzo opened this issue 13 years ago • 0 comments

The occurrences_after() methods relay on Event.end_recurring_period field to be present/not null/None and error. But Event can have it's duration ended by some other parameter.

Fix is quite simple: on line 162 of schedule/models/events.py add a check for end_recurring_period.

jinzo avatar Sep 19 '11 13:09 jinzo