server/authentication/models.py
author rougeronj
Tue, 02 Jun 2015 09:46:55 +0200
changeset 107 1e18c880021e
parent 103 b707607e8a38
child 108 4a152f5f4a09
permissions -rw-r--r--
add json and image for testing without connection


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)