fix: auth register api fixed

This commit is contained in:
behruz-dev
2025-07-29 18:01:49 +05:00
parent a697c6a6a3
commit 6bc284f1ec
6 changed files with 32 additions and 47 deletions

View File

@@ -12,7 +12,7 @@ class VerificationCode(BaseModel):
expiration_time = models.TimeField(null=True, blank=True)
def __str__(self):
return f'{self.user.phone} - {self.code}'
return f'{self.phone} - {self.code}'
class Meta:
verbose_name = 'Verification Code'