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

Class Profile

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

Source from the content-addressed store, hash-verified

4# Create your models here.
5
6class Profile(models.Model):
7 user = models.OneToOneField(User,on_delete=models.CASCADE)
8 auth_token = models.CharField(max_length=100)
9 is_verified = models.BooleanField(default=False)
10 created_at = models.DateTimeField(auto_now_add=True)
11
12 def __str__(self):
13 return self.user.username
14
15
16class Prof2(models.Model):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected