server/authentication/models.py
author rougeronj
Thu, 28 May 2015 10:45:34 +0200
changeset 104 7f2f72449dd8
parent 103 b707607e8a38
child 108 4a152f5f4a09
permissions -rw-r--r--
add font-size


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

import settings


class AmmicoUser(AbstractUser):
    idUser = models.CharField(max_length=50, blank=True)
    
class Profile(models.Model):
    user = models.OneToOneField(settings.AUTH_USER_MODEL)
    image = models.URLField(max_length=2048, blank=True)