Permit document urls to be up to 512 bytes, rather than the default 200
- Legacy-Id: 14230
This commit is contained in:
parent
bbd88e3bb2
commit
0d15cb0e14
20
ietf/doc/migrations/0035_auto_20171029_1414.py
Normal file
20
ietf/doc/migrations/0035_auto_20171029_1414.py
Normal file
|
@ -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),
|
||||
),
|
||||
]
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue