from __future__ import unicode_literals
from django.db import models

#Create your models here.
class user_details(models.Model):
    name=models.CharField(max_length=10)
    password=models.IntegerField()
    def __unicode__(self):
        return self.name
class user_additional_data(models.Model):
    add=models.OneToOneField(user_details,on_delete=models.CASCADE,primary_key=True,related_name='extra')
    address=models.CharField(max_length=100)
    phone_number=models.IntegerField()

445e90290b01e5a2a63902167c2989e70f4f752b
<mask token>


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


class user_additional_data(models.Model):
    add = models.OneToOneField(user_details, on_delete=models.CASCADE,
        primary_key=True, related_name='extra')
    address = models.CharField(max_length=100)
    phone_number = models.IntegerField()

<mask token>


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

    def __unicode__(self):
        return self.name


class user_additional_data(models.Model):
    add = models.OneToOneField(user_details, on_delete=models.CASCADE,
        primary_key=True, related_name='extra')
    address = models.CharField(max_length=100)
    phone_number = models.IntegerField()

<mask token>


class user_details(models.Model):
    name = models.CharField(max_length=10)
    password = models.IntegerField()

    def __unicode__(self):
        return self.name


class user_additional_data(models.Model):
    add = models.OneToOneField(user_details, on_delete=models.CASCADE,
        primary_key=True, related_name='extra')
    address = models.CharField(max_length=100)
    phone_number = models.IntegerField()

from __future__ import unicode_literals
from django.db import models


class user_details(models.Model):
    name = models.CharField(max_length=10)
    password = models.IntegerField()

    def __unicode__(self):
        return self.name


class user_additional_data(models.Model):
    add = models.OneToOneField(user_details, on_delete=models.CASCADE,
        primary_key=True, related_name='extra')
    address = models.CharField(max_length=100)
    phone_number = models.IntegerField()

from __future__ import unicode_literals
from django.db import models

#Create your models here.
class user_details(models.Model):
    name=models.CharField(max_length=10)
    password=models.IntegerField()
    def __unicode__(self):
        return self.name
class user_additional_data(models.Model):
    add=models.OneToOneField(user_details,on_delete=models.CASCADE,primary_key=True,related_name='extra')
    address=models.CharField(max_length=100)
    phone_number=models.IntegerField()
