Skip to content

Fix bug that results in AttributeError - 'OccurrencePreview' object has no attribute 'object' #555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Run isort
  • Loading branch information
Dan Stringer committed Jul 7, 2023
commit f6479c22bfb7ddf8933c071257d3f58deb237982
2 changes: 1 addition & 1 deletion schedule/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

from schedule.forms import EventForm, OccurrenceForm
from schedule.models import Calendar, Event, Occurrence
from schedule.periods import weekday_names, Period
from schedule.periods import Period, weekday_names
from schedule.settings import (
CHECK_EVENT_PERM_FUNC,
CHECK_OCCURRENCE_PERM_FUNC,
Expand Down