Commit 41477d8d authored by Claude Paroz's avatar Claude Paroz

Remove query ordering to silence deprecation warning

parent dadc0fd5
......@@ -65,7 +65,7 @@ class Person(User):
).filter(last_login__lt=(datetime.datetime.now()-datetime.timedelta(days=730))
).exclude(role__role='coordinator'
).exclude(num_modules__gt=0
).exclude(num_states__gt=0)
).exclude(num_states__gt=0).order_by()
for account in accounts:
account.delete()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment