title: how to use column from model in anther model
body: <p>I have two models the first models is for users and the second is for candidates when I register an account that is done using the first model and when I enter to edit the account  information as the name and date of birth  I need to rewrite this information back knowing that I put it during the account registration, is there a way to modify the second model form to take the information from the first model</p>
  <p>the first models :</p>
  <pre><code>
  from django.db import models
  from django.contrib.auth.models import AbstractUser
  from phonenumber_field.modelfields import PhoneNumberField
  
  
  
  
  GENDER_CHOICES = (
      ('M', &quot;Male&quot;),
      ('F', &quot;Female&quot;),
      ('O', &quot;Other&quot;),
  )
  class User(AbstractUser):
      username=None
      email=models.EmailField(
          verbose_name='email address',
          max_length=255,
          unique=True
      )
      date_of_birth = models.DateField(default='1990-01-01')
      gender=models.CharField(max_length=1,choices=GENDER_CHOICES,blank=True)
      picture=models.ImageField(
          upload_to='img/users',null=True,verbose_name=&quot;&quot;
      )
      phone = PhoneNumberField()
      USERNAME_FIELD = 'email'
      REQUIRED_FIELDS = ['first_name', 'last_name']
  
  
      def __str__(self):
          return self.email
  </code></pre>
  <p>the secound models :</p>
  <pre><code>from django.db import models
  from accounts.models import User
  from django.utils import timezone
  from autoslug import AutoSlugField
  from django_countries.fields import CountryField
  from recruiters.models import Job
  from django.utils import timezone
  
  CHOICES = (
      ('Full Time', 'Full Time'),
      ('Part Time', 'Part Time'),
      ('Internship', 'Internship'),
      ('Remote', 'Remote'),
  )
  
  
  class Profile(models.Model):
      user = models.OneToOneField(
          User, on_delete=models.CASCADE, primary_key=True, related_name='profile')
      full_name = models.CharField(max_length=200, null=True, blank=True)
      country = CountryField(null=True, blank=True)
      location = models.CharField(max_length=255, null=True, blank=True)
      resume = models.FileField(upload_to='resumes', null=True, blank=True)
      grad_year = models.IntegerField(blank=True)
      looking_for = models.CharField(
          max_length=30, choices=CHOICES, default='Full Time', null=True)
      slug = AutoSlugField(populate_from='user', unique=True)
  
      def get_absolute_url(self):
          return &quot;/profile/{}&quot;.format(self.slug)
  
      def save(self, *args, **kwargs):
          super().save(*args, **kwargs)
  
      def __str__(self):
          return self.user.username
  
  </code></pre>
  <blockquote>
  <p>can any one help me ?</p>
  </blockquote>