-
Notifications
You must be signed in to change notification settings - Fork 431
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
(Django 5.0.1) AttributeError at /admin/django_celery_beat/crontabschedule/add/ #711
Comments
More discussed here: #698 Swapping to older versions of libraries can not only cause security issues - dependency issues, as you are noticing is also a problem. I'm pretty sure ZoneInfo.localize is deprecated in pytz. |
I totally agree. I am just pointing out that the solution to use the lib with Django 5.0 given in #699 is not working. I would like to contribute more to support the new Django version, but I don't know from where to start (never contributed directly to open source software). This may be the source of the first issue: Support for pytz timezones was removed in Django 5.0. The second was probably fixed between ver. 2.1.0 and 2.5.0. |
Installing on Dj5.0.x is DOWNGRADING your This means that a previously fixed #378 is no longer present. A new release to PyPI would fix the issue. @AlexEnrique Please close this issue as a duplicate of #698 or change the title to: |
Summary:
There are two places where
AttributeError
is raised:Running celery beat with
celery -A project beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler
Clicking in "+ Add" button for Crontabs in the Django admin raised
AttributeError
(traceback at the end).Versions used
Exact steps to reproduce the issue:
Detailed information
#699
https://docs.djangoproject.com/en/dev/releases/5.0/
https://docs.djangoproject.com/en/dev/releases/5.0.1/
Tracebacks
Clicking in the +add button
On startup
Also: 'django_celery_beat' have changes that are not yet reflected in a migration.
Running
makemigrations
created/usr/local/lib/python3.12/site-packages/django_celery_beat/migrations/0015_alter_clockedschedule_id_alter_crontabschedule_id_and_more.py
But the error still persists.
The text was updated successfully, but these errors were encountered: