# -*- encoding: utf-8 -*-
from django.db import models
from django.contrib.auth.models import AbstractUser
from django.contrib.auth.models import User

# Users is a model to represent the system's users
class Users(models.Model):

    user = models.OneToOneField(User, on_delete=models.CASCADE)
    id_number = models.CharField(max_length=30, verbose_name="identification")
    photo = models.ImageField(upload_to='images/', blank=True, null=True)
c5fc979ec89966b4f4f438b800628e8bddb5d73d
<mask token>

<mask token>


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

<mask token>


class Users(models.Model):
    user = models.OneToOneField(User, on_delete=models.CASCADE)
    id_number = models.CharField(max_length=30, verbose_name='identification')
    photo = models.ImageField(upload_to='images/', blank=True, null=True)

from django.db import models
from django.contrib.auth.models import AbstractUser
from django.contrib.auth.models import User


class Users(models.Model):
    user = models.OneToOneField(User, on_delete=models.CASCADE)
    id_number = models.CharField(max_length=30, verbose_name='identification')
    photo = models.ImageField(upload_to='images/', blank=True, null=True)

# -*- encoding: utf-8 -*-
from django.db import models
from django.contrib.auth.models import AbstractUser
from django.contrib.auth.models import User

# Users is a model to represent the system's users
class Users(models.Model):

    user = models.OneToOneField(User, on_delete=models.CASCADE)
    id_number = models.CharField(max_length=30, verbose_name="identification")
    photo = models.ImageField(upload_to='images/', blank=True, null=True)