server/authentication/models.py
author rougeronj
Fri, 29 May 2015 13:38:24 +0200
changeset 105 be1ff4e0593f
parent 103 b707607e8a38
child 108 4a152f5f4a09
permissions -rw-r--r--
remove unused fields in slide editor and show the entire image


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)