-
Notifications
You must be signed in to change notification settings - Fork 393
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
Unpersisted occurrences don't work #554
Comments
May I kindly ask anyone if this feature works for them and under which versions of this package and Django? I'm running out of ideas |
Hello, I tried your fix and I don't get the AttributeError anymore. I get a Not Found error now, but I'm customizing django-scheduler URLs in this project so I don't think this is related to your fix. I tried your code both in production and in the development environment: no AttributeError at all, I think you solved the problem! Thank you for your work and for the heads-up |
I checked and it seems I get the IndexError exception of line 183 inside |
The branch is ready to merge. @fatboystring, what do you think about @h3x4git comments? |
The issue is with another PR I had already applied #488. That URL path I mentioned seems to work fine on a test project, where the only difference with the one giving errors is I didn't use neither django-polymorph onto the Event table nor the Abstract model base setting. I started anew with the abstract version to make sure there was no contamination between environments. With the original Event model it works. |
Any news, anyone? I looked into it but I don't see how the |
#301
This is still an issue. Unpersisted occurrences, whether their event has a frequency rule declared or not, they still give you this error. I haven't been able to see this working yet. Persisted occurrences work fine.
I'm using version 0.10.1 on test, development and production environment. Versions of Django tested: 4.1.7 (test), 3.2.16 (dev and production)
Maybe there is some bug?
The class-based view that fails is
OccurrencePreview
, I also tried to add a DetailView mixin. I couldn't get it to create an "object" attribute, not even by usingsuper().get_object()
The text was updated successfully, but these errors were encountered: