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
901 stars 195 forks source link

Fix deprecation warning about `index_together` #235

Open browniebroke opened 1 year ago

browniebroke commented 1 year ago

Running tests with warning enabled on a recent version of Django logs:

RemovedInDjango51Warning: 'index_together' is deprecated. Use 'Meta.indexes' in 'django_cron.CronJobLog' instead.