You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to implement this wonderful app in a current environment and figured out there were some problems with Django 5.
Making the following changes to views.py seemed to help:
replace pytz with django.utils.timezone
in line 89 replace self.template_name with self.form_template_name
But this would break backwards compatibility, wouldn't it?
The text was updated successfully, but these errors were encountered:
I think you could replace pytz as you describe without problems. This should work with versions as low as Django 3.2, which is the oldest version that this app supports. As for replacing "self.template_name" with "self.form_template_name", I don't think that should be necessary. As I understand it, those two attributes serve different functions, and there should be no problem with using "template_name" in Django 5.x. However, I have not tested this myself.
Can you make a PR for the "pytz" issue and any others you have found? I'll be happy to take a look.
I tried to implement this wonderful app in a current environment and figured out there were some problems with Django 5.
Making the following changes to views.py seemed to help:
But this would break backwards compatibility, wouldn't it?
The text was updated successfully, but these errors were encountered: