aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'okupy/accounts/models.py')
-rw-r--r--okupy/accounts/models.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/okupy/accounts/models.py b/okupy/accounts/models.py
index fe1c44b..b9e8fb2 100644
--- a/okupy/accounts/models.py
+++ b/okupy/accounts/models.py
@@ -6,14 +6,15 @@ from ldapdb.models.fields import (CharField, IntegerField, ListField,
FloatField, ACLField, DateField)
import ldapdb.models
+from ..common.models import EncryptedPKModel
-class Queue(models.Model):
+
+class Queue(EncryptedPKModel):
username = models.CharField(max_length=100, unique=True)
password = models.CharField(max_length=30)
first_name = models.CharField(max_length=100)
last_name = models.CharField(max_length=100)
email = models.EmailField(max_length=254, unique=True)
- token = models.CharField(max_length=40)
class LDAPUser(ldapdb.models.Model):