server/authentication/models.py
author rougeronj
Tue, 02 Jun 2015 09:46:30 +0200
changeset 106 cb13a9009bf5
parent 103 b707607e8a38
child 108 4a152f5f4a09
permissions -rw-r--r--
improve slideshow interface and add ngTouch to handle swipe on mobile


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)