Commit eddc93c8 authored by Flavio TARSETTI's avatar Flavio TARSETTI
Browse files

[accounts][management][commands] Generate temporary url through model manager...

[accounts][management][commands] Generate temporary url through model manager for yearly account revalidation
parent 2b5a1398
Pipeline #39824 passed with stage
in 15 minutes and 10 seconds
......@@ -211,8 +211,7 @@ class Command(BaseCommand):
if - == datetime.timedelta(days=expiration_reminder):
warned_count += 1
temp_url = TemporaryUrl()
temp_url._generate_temporary_url(TemporaryUrl.YEARREVALIDATION, supervisiontrack)
temp_url = TemporaryUrl.objects.create_temporary_url(TemporaryUrl.YEARREVALIDATION, supervisiontrack)
context = {
'user': user,
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