Generate search strings hourly instead of member update

This commit is contained in:
Tanner Collin 2022-04-11 21:56:47 +00:00
parent 597ef096fa
commit 2dd0a04ed8
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,8 @@ class Command(BaseCommand):
utils_stats.calc_card_scans()
utils.gen_search_strings()
def handle(self, *args, **options):
self.stdout.write('{} - Beginning hourly tasks'.format(str(now())))

View File

@ -178,7 +178,6 @@ class MemberViewSet(Base, Retrieve, Update):
member = serializer.save()
utils.tally_membership_months(member)
utils.gen_member_forms(member)
utils.gen_search_strings()
@action(detail=True, methods=['post'])
def pause(self, request, pk=None):