В моей django административной модели (профиль) я не вижу своего поля StudentID, объявленного в django модели. models.py
class Profile(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
StudentID = models.AutoField(primary_key=True, verbose_name='SID')
Branch = models.CharField(max_length=255, choices=Departments, default="CSE")
YearOfStudy = models.IntegerField(default=1)
ContactNumber = PhoneField(help_text='Contact phone number')
image = models.ImageField(default='default.jpeg', upload_to='profile_pics', blank=True)
parentsContactNumber = PhoneField(help_text="Parent's phone number", blank=True)
def __str__(self):
return f'{self.user.username} Profile'
