diff --git a/ungleichotp/otpauth/models.py b/ungleichotp/otpauth/models.py index d93fbbe..0ca6ec7 100644 --- a/ungleichotp/otpauth/models.py +++ b/ungleichotp/otpauth/models.py @@ -10,6 +10,9 @@ class OTPSeed(models.Model): class Meta: unique_together = (('name', 'realm'),) + def __str__(self): + return "'{}'@{}".format(self.name, self.realm) + # V1 # class OTPSeed(models.Model):