Fixes string formatting in site model

This commit is contained in:
Mouse Reeve 2021-09-20 17:19:26 -07:00
parent a74141ece4
commit 1be33c97a2

View file

@ -127,7 +127,7 @@ class PasswordReset(models.Model):
@property
def link(self):
"""formats the invite link"""
return "https://{DOMAIN}/password-reset/{self.code}"
return f"https://{DOMAIN}/password-reset/{self.code}"
# pylint: disable=unused-argument