Skip to content

Commit 0d15cb0

Browse files
committed
Permit document urls to be up to 512 bytes, rather than the default 200
- Legacy-Id: 14230
1 parent bbd88e3 commit 0d15cb0

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.10.8 on 2017-10-29 14:14
3+
from __future__ import unicode_literals
4+
5+
from django.db import migrations, models
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
('doc', '0034_documenturl'),
12+
]
13+
14+
operations = [
15+
migrations.AlterField(
16+
model_name='documenturl',
17+
name='url',
18+
field=models.URLField(max_length=512),
19+
),
20+
]

ietf/doc/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ class DocumentURL(models.Model):
787787
doc = models.ForeignKey(Document)
788788
tag = models.ForeignKey(DocUrlTagName)
789789
desc = models.CharField(max_length=255, default='', blank=True)
790-
url = models.URLField()
790+
url = models.URLField(max_length=512)
791791

792792
class RelatedDocHistory(models.Model):
793793
source = models.ForeignKey('DocHistory')

0 commit comments

Comments
 (0)