Commit b1ae6a56 by Ed Crewe

dont use timestamp reserved word for Oracle

parent 063d553c
...@@ -41,9 +41,10 @@ class Tgt(models.Model): ...@@ -41,9 +41,10 @@ class Tgt(models.Model):
page.close() page.close()
class PgtIOU(models.Model): class PgtIOU(models.Model):
""" Proxy granting ticket and IOU """
pgtIou = models.CharField(max_length = 255, unique = True) pgtIou = models.CharField(max_length = 255, unique = True)
tgt = models.CharField(max_length = 255) tgt = models.CharField(max_length = 255)
timestamp = models.DateTimeField(auto_now = True) created = models.DateTimeField(auto_now = True)
def get_tgt_for(user): def get_tgt_for(user):
if not settings.CAS_PROXY_CALLBACK: if not settings.CAS_PROXY_CALLBACK:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment