MCPcopy Create free account
hub / github.com/codemistic/Web-Development / Prof2

Class Prof2

email verification/src/accounts/models.py:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15
16class Prof2(models.Model):
17 user = models.OneToOneField(User,on_delete=models.CASCADE)
18 forget_password_token=models.CharField(max_length=100)
19 created_at = models.DateTimeField(auto_now_add=True)
20
21 def __str__(self):
22 return self.user.username

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected