diff --git a/ietf/doc/migrations/0035_auto_20171029_1414.py b/ietf/doc/migrations/0035_auto_20171029_1414.py new file mode 100644 index 000000000..b369682c0 --- /dev/null +++ b/ietf/doc/migrations/0035_auto_20171029_1414.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.8 on 2017-10-29 14:14 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('doc', '0034_documenturl'), + ] + + operations = [ + migrations.AlterField( + model_name='documenturl', + name='url', + field=models.URLField(max_length=512), + ), + ] diff --git a/ietf/doc/models.py b/ietf/doc/models.py index 26d64659d..2e5544e13 100644 --- a/ietf/doc/models.py +++ b/ietf/doc/models.py @@ -787,7 +787,7 @@ class DocumentURL(models.Model): doc = models.ForeignKey(Document) tag = models.ForeignKey(DocUrlTagName) desc = models.CharField(max_length=255, default='', blank=True) - url = models.URLField() + url = models.URLField(max_length=512) class RelatedDocHistory(models.Model): source = models.ForeignKey('DocHistory')