Browse Source

Fix the senddeletionnotices command to take into account the new default SMS limit.

pull/307/head
Pēteris Caune 5 years ago
parent
commit
7db11fa7aa
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hc/accounts/management/commands/senddeletionnotices.py

+ 1
- 1
hc/accounts/management/commands/senddeletionnotices.py View File

@ -30,7 +30,7 @@ class Command(BaseCommand):
# Exclude accounts with the deletion notice already sent
q = q.exclude(deletion_notice_date__gt=year_ago)
# Exclude paid accounts
q = q.exclude(sms_limit__gt=0)
q = q.exclude(sms_limit__gt=5)
sent = 0
for profile in q:


Loading…
Cancel
Save