Skip to content
New issue

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

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

Already on GitHub? # to your account

OccurrencePreview does not work #301

Open
lampslave opened this issue Feb 28, 2017 · 3 comments
Open

OccurrencePreview does not work #301

lampslave opened this issue Feb 28, 2017 · 3 comments
Milestone

Comments

@lampslave
Copy link

OccurrencePreview.get_context_data fails with exception 'OccurrencePreview' object has no attribute 'object'.

urls.py:
url(r'^occurrence/(?P<event_id>\d+)/(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/(?P<hour>\d+)/(?P<minute>\d+)/(?P<second>\d+)/$', OccurrencePreview.as_view(), name='occurrence_by_date'),

@llazzaro llazzaro added this to the 0.8.4 milestone Mar 1, 2017
@llazzaro llazzaro modified the milestones: 0.8.5, 0.8.4, 0.8.6 Jun 25, 2017
@llazzaro llazzaro modified the milestones: 0.8.8, 0.8.6 Jul 31, 2017
@nlittlejohns
Copy link

@lampslave did you find a solution to this? I just hit the same issue.

@lampslave
Copy link
Author

@nlittlejohns Sorry, but I don't remember. Maybe it was because of wrong class or template inheritance.

@h3x4git
Copy link

h3x4git commented Mar 25, 2023

I have the same problem in version 0.10.1, I should say that this happens on both the production and development environment with unpersisted occurrences for an event that repeats daily with a proper daily rule associated to the event. I just haven't been able to see this working. Persisted occurrences work (different url and view). I think this is a bug @lampslave @nlittlejohns

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants