diff --git a/readthedocs/projects/migrations/0042_increase_env_variable_value_max_length.py b/readthedocs/projects/migrations/0042_increase_env_variable_value_max_length.py new file mode 100644 index 00000000000..698c0f8d7ec --- /dev/null +++ b/readthedocs/projects/migrations/0042_increase_env_variable_value_max_length.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.20 on 2019-04-16 18:43 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('projects', '0041_index-repo-field'), + ] + + operations = [ + migrations.AlterField( + model_name='environmentvariable', + name='value', + field=models.CharField(help_text='Value of the environment variable', max_length=2048), + ), + ] diff --git a/readthedocs/projects/models.py b/readthedocs/projects/models.py index aa732170e86..bef576c794d 100644 --- a/readthedocs/projects/models.py +++ b/readthedocs/projects/models.py @@ -1429,7 +1429,7 @@ class EnvironmentVariable(TimeStampedModel, models.Model): help_text=_('Name of the environment variable'), ) value = models.CharField( - max_length=256, + max_length=2048, help_text=_('Value of the environment variable'), ) project = models.ForeignKey(