Skip to content
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

Error after upgrade to 0.6.0 #245

Open
cameron-emburse opened this issue Feb 13, 2024 · 1 comment · May be fixed by #246
Open

Error after upgrade to 0.6.0 #245

cameron-emburse opened this issue Feb 13, 2024 · 1 comment · May be fixed by #246

Comments

@cameron-emburse
Copy link

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/django_cron/management/commands/runcrons.py", line 45, in handle
    crons_to_run = [get_class(x) for x in cron_class_names]
  File "/usr/local/lib/python3.9/site-packages/django_cron/management/commands/runcrons.py", line 45, in <listcomp>
    crons_to_run = [get_class(x) for x in cron_class_names]
  File "/usr/local/lib/python3.9/site-packages/django_cron/__init__.py", line 33, in get_class
    m = __import__(module)
  File "/usr/local/lib/python3.9/site-packages/django_cron/cron.py", line 3, in <module>
    from django_common.helper import send_mail
ModuleNotFoundError: No module named 'django_common'

This line should have been removed according to the changelog from 0.5.1 to 0.6.0, but the line is there when I install 0.6.0 from pip...

Django version is 3.2.24

@jorenham
Copy link

This project appears to be abandoned. Feel free to use my fork, which includes a fix for this.

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

Successfully merging a pull request may close this issue.

2 participants