We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In most cases, We want to sort a queryset by update_datetime and then iterate it.
update_datetime
e.g. send a message when an new vedio was published or updated.
last_update_datetime = cache.get("last-update-datetime") for vedio in chunkator(Vedio.objects.filter(update_datetime__gte=last_update_datetime).order_by("update_datetime", 200): send_notify(vedio) cache.set("last-update-datetime", vedio.update_datetime)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In most cases, We want to sort a queryset by
update_datetime
and then iterate it.e.g. send a message when an new vedio was published or updated.
The text was updated successfully, but these errors were encountered: