from django.db import models
from django.contrib.auth.models import User
# Create your models here.

class Register_table(models.Model):
    user=models.OneToOneField(User,on_delete=models.CASCADE)
    contect_number=models.IntegerField()

    def __str__(self):
        return self.user.username 
    
ce84f9d4986415741c2c5ac4c21c048285f0d1e9
<mask token>


class Register_table(models.Model):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Register_table(models.Model):
    <mask token>
    <mask token>

    def __str__(self):
        return self.user.username

<mask token>


class Register_table(models.Model):
    user = models.OneToOneField(User, on_delete=models.CASCADE)
    contect_number = models.IntegerField()

    def __str__(self):
        return self.user.username

from django.db import models
from django.contrib.auth.models import User


class Register_table(models.Model):
    user = models.OneToOneField(User, on_delete=models.CASCADE)
    contect_number = models.IntegerField()

    def __str__(self):
        return self.user.username

from django.db import models
from django.contrib.auth.models import User
# Create your models here.

class Register_table(models.Model):
    user=models.OneToOneField(User,on_delete=models.CASCADE)
    contect_number=models.IntegerField()

    def __str__(self):
        return self.user.username 
    