Tivix / django-cron

Write cron business logic as a Python class and let this app do the rest! It enables Django projects to schedule cron tasks, tracks their success / failures, manages contention (via a cache) etc. Basically takes care of all the boring work for you :-)
www.tivix.com
MIT License
900 stars 193 forks source link

TypeError: 'class Meta' got invalid attribute(s): index_together with Django 5.1 #250

Open hantsaniala opened 2 months ago

hantsaniala commented 2 months ago

Temporary workaround, stick with Django 5.0.

Django-Cron version: 0.6.0 Env manager: Pipenv OS: Ubuntu 22.04

jorenham commented 1 month ago

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

alexeydg commented 1 month ago

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

how do install your fork if in project was installed Tivix/django-cron ? i have error TypeError: 'class Meta' got invalid attribute(s): index_together when install your fork.

jorenham commented 1 month ago
pip install git+https://github.com/jorenham/django-cron.git
zeeblaze commented 2 weeks ago
pip install git+https://github.com/jorenham/django-cron.git

Hi @jorenham I installed your for and I have been getting this error even after deleting my sqlite and all migrations

Django.db.utils.OperationError: index_django_cron_code_89ad04_idx already exists
jorenham commented 2 weeks ago

Hmm strange, I thought that https://github.com/jorenham/django-cron/pull/2 would've fixed it 🤔 . Coiuld you share the full stacktrace?

zeeblaze commented 2 weeks ago

Hmm strange, I thought that jorenham#2 would've fixed it 🤔 . Coiuld you share the full stacktrace?

Ohhh, I didn't check the PR comments, I just installed directly...I will try and see if it fixes it