from django.db import models

# Create your models here.
class Person(models.Model):
    person_id = models.AutoField
    image = models.ImageField(upload_to="home",default='')

class Contact(models.Model):
    person_id = models.AutoField
    name = models.CharField(max_length=50)
    email = models.EmailField(max_length=30)
    phno = models.BigIntegerField()
    message = models.CharField(max_length=200)

    def __str__(self):
        return self.name

class User(models.Model):
    user_id = models.AutoField
    user_name = models.CharField(max_length=50)
    user_phno = models.BigIntegerField()
    user_email = models.EmailField(max_length=30)
    user_password = models.CharField(max_length=30,unique=True)


    def __str__(self):
        return self.user_name                


d1f0c602a5400681f5f056d0caa4eab624e6ef58
<mask token>


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

    def __str__(self):
        return self.name


class User(models.Model):
    user_id = models.AutoField
    user_name = models.CharField(max_length=50)
    user_phno = models.BigIntegerField()
    user_email = models.EmailField(max_length=30)
    user_password = models.CharField(max_length=30, unique=True)

    def __str__(self):
        return self.user_name

<mask token>


class Contact(models.Model):
    person_id = models.AutoField
    name = models.CharField(max_length=50)
    email = models.EmailField(max_length=30)
    phno = models.BigIntegerField()
    message = models.CharField(max_length=200)

    def __str__(self):
        return self.name


class User(models.Model):
    user_id = models.AutoField
    user_name = models.CharField(max_length=50)
    user_phno = models.BigIntegerField()
    user_email = models.EmailField(max_length=30)
    user_password = models.CharField(max_length=30, unique=True)

    def __str__(self):
        return self.user_name

<mask token>


class Person(models.Model):
    person_id = models.AutoField
    image = models.ImageField(upload_to='home', default='')


class Contact(models.Model):
    person_id = models.AutoField
    name = models.CharField(max_length=50)
    email = models.EmailField(max_length=30)
    phno = models.BigIntegerField()
    message = models.CharField(max_length=200)

    def __str__(self):
        return self.name


class User(models.Model):
    user_id = models.AutoField
    user_name = models.CharField(max_length=50)
    user_phno = models.BigIntegerField()
    user_email = models.EmailField(max_length=30)
    user_password = models.CharField(max_length=30, unique=True)

    def __str__(self):
        return self.user_name

from django.db import models


class Person(models.Model):
    person_id = models.AutoField
    image = models.ImageField(upload_to='home', default='')


class Contact(models.Model):
    person_id = models.AutoField
    name = models.CharField(max_length=50)
    email = models.EmailField(max_length=30)
    phno = models.BigIntegerField()
    message = models.CharField(max_length=200)

    def __str__(self):
        return self.name


class User(models.Model):
    user_id = models.AutoField
    user_name = models.CharField(max_length=50)
    user_phno = models.BigIntegerField()
    user_email = models.EmailField(max_length=30)
    user_password = models.CharField(max_length=30, unique=True)

    def __str__(self):
        return self.user_name

from django.db import models

# Create your models here.
class Person(models.Model):
    person_id = models.AutoField
    image = models.ImageField(upload_to="home",default='')

class Contact(models.Model):
    person_id = models.AutoField
    name = models.CharField(max_length=50)
    email = models.EmailField(max_length=30)
    phno = models.BigIntegerField()
    message = models.CharField(max_length=200)

    def __str__(self):
        return self.name

class User(models.Model):
    user_id = models.AutoField
    user_name = models.CharField(max_length=50)
    user_phno = models.BigIntegerField()
    user_email = models.EmailField(max_length=30)
    user_password = models.CharField(max_length=30,unique=True)


    def __str__(self):
        return self.user_name                

