fnp
/
django-cas-provider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test: Remove unnecessary and unsupported in Py2.6 `namespaces` arg for ET.find
[django-cas-provider.git]
/
cas_provider
/
models.py
diff --git
a/cas_provider/models.py
b/cas_provider/models.py
index
43463d5
..
12fed4c
100644
(file)
--- a/
cas_provider/models.py
+++ b/
cas_provider/models.py
@@
-65,7
+65,9
@@
class LoginTicket(BaseTicket):
class ProxyGrantingTicket(BaseTicket):
class ProxyGrantingTicket(BaseTicket):
- serviceTicket = models.ForeignKey(ServiceTicket, null=True)
+ user = models.ForeignKey(settings.AUTH_USER_MODEL, verbose_name=_('user'))
+ service = models.URLField(_('service'), null=True)
+ pgt = models.ForeignKey('self', null=True)
pgtiou = models.CharField(max_length=256, verbose_name=_('PGTiou'))
prefix = 'PGT'
pgtiou = models.CharField(max_length=256, verbose_name=_('PGTiou'))
prefix = 'PGT'