X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/blobdiff_plain/4f3dc0c8018d8ca6ff31429043d64ccbdae8b956..6eca12e4fa36ac42df3c071c49717db1db94e644:/cas_provider/models.py diff --git a/cas_provider/models.py b/cas_provider/models.py index cb14c35..4ec2e85 100644 --- a/cas_provider/models.py +++ b/cas_provider/models.py @@ -66,6 +66,7 @@ class LoginTicket(BaseTicket): class ProxyGrantingTicket(BaseTicket): serviceTicket = models.ForeignKey(ServiceTicket, null=True) pgtiou = models.CharField(max_length=256, verbose_name=_('PGTiou')) + targetService = models.URLField(_('service'), verify_exists=False) prefix = 'PGT' def __init__(self, *args, **kwargs): @@ -97,4 +98,3 @@ class ProxyGrantingTicketIOU(BaseTicket): verbose_name = _('Proxy Granting Ticket IOU') verbose_name_plural = _('Proxy Granting Tickets IOU') -