diff -r a5f9739dcd46 -r bd7bcfc86232 server/authentication/models.py --- a/server/authentication/models.py Fri Apr 03 15:02:19 2015 +0200 +++ b/server/authentication/models.py Fri Apr 03 15:03:04 2015 +0200 @@ -1,14 +1,10 @@ -import json -from django.contrib.auth.models import AbstractUser, BaseUserManager +from django.contrib.auth.models import AbstractUser from django.db import models -from django.utils import timezone -import requests -from config import URL_JAMESPOT class AmmicoUser(AbstractUser): - idUser = models.CharField(max_length=50, unique=True, blank=True) + idUser = models.CharField(max_length=50, blank=True) class Profile(models.Model): user = models.OneToOneField(AmmicoUser)