Query fixes

This commit is contained in:
nikolark committed 2012-02-02 15:01:35 +01:00
1 parent f7de6a81fe
commit bb218c1766
4 files changed
+19 -38

No files matched your search

+2 -2
View File
@@ -6,11 +6,11 @@ class TempUserLog(models.Model):
description = models.TextField(max_length=255)
expires = models.DateTimeField()
count = models.IntegerField()
deleted = models.BooleanField(default=False)
created = models.DateTimeField(auto_now_add=True)
class UserPass(models.Model):
username = models.CharField(max_length=50)
username = models.CharField(max_length=50, unique=True)
password = models.CharField(max_length=50)
radcheck_id = models.PositiveIntegerField(unique=True, null=False)
log = models.ForeignKey(TempUserLog)