server/authentication/models.py
changeset 63 bd7bcfc86232
parent 51 032280909e65
child 103 b707607e8a38
--- 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)