from django.db import models

# Custom Imports
from django.contrib.auth import get_user_model

# Default User
User = get_user_model()

# Model to store the Details of the user
class UserDetails(models.Model):

    # Foreign key to the Default User of Django
    user = models.ForeignKey(User, on_delete=models.CASCADE, null = True, blank = True)

    # College
    college = models.CharField(max_length = 255, blank = True, null = True)
    # Further Details of the user can be added here

    class Meta:
        verbose_name = 'User Detail'
        verbose_name_plural = 'User Details'
33803eaae69052e3a013dcf9b82be7c8aef2667c
<mask token>


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


    class Meta:
        verbose_name = 'User Detail'
        verbose_name_plural = 'User Details'

<mask token>


class UserDetails(models.Model):
    user = models.ForeignKey(User, on_delete=models.CASCADE, null=True,
        blank=True)
    college = models.CharField(max_length=255, blank=True, null=True)


    class Meta:
        verbose_name = 'User Detail'
        verbose_name_plural = 'User Details'

<mask token>
User = get_user_model()


class UserDetails(models.Model):
    user = models.ForeignKey(User, on_delete=models.CASCADE, null=True,
        blank=True)
    college = models.CharField(max_length=255, blank=True, null=True)


    class Meta:
        verbose_name = 'User Detail'
        verbose_name_plural = 'User Details'

from django.db import models
from django.contrib.auth import get_user_model
User = get_user_model()


class UserDetails(models.Model):
    user = models.ForeignKey(User, on_delete=models.CASCADE, null=True,
        blank=True)
    college = models.CharField(max_length=255, blank=True, null=True)


    class Meta:
        verbose_name = 'User Detail'
        verbose_name_plural = 'User Details'

from django.db import models

# Custom Imports
from django.contrib.auth import get_user_model

# Default User
User = get_user_model()

# Model to store the Details of the user
class UserDetails(models.Model):

    # Foreign key to the Default User of Django
    user = models.ForeignKey(User, on_delete=models.CASCADE, null = True, blank = True)

    # College
    college = models.CharField(max_length = 255, blank = True, null = True)
    # Further Details of the user can be added here

    class Meta:
        verbose_name = 'User Detail'
        verbose_name_plural = 'User Details'