Extend the service URL field.
[django-cas-provider.git] / cas_provider / models.py
index 0dd8b9a..14c2294 100644 (file)
@@ -36,7 +36,7 @@ class BaseTicket(models.Model):
 
 class ServiceTicket(BaseTicket):
     user = models.ForeignKey(settings.AUTH_USER_MODEL, verbose_name=_('user'), on_delete=models.CASCADE)
-    service = models.URLField(_('service'))
+    service = models.URLField(_('service'), max_length=2048)
 
     prefix = 'ST'