Self hosted FLOSS fitness/workout, nutrition and weight tracker
Further increase the author field length
Roland Geider9aa837ffa03b
diff --git a/wger/exercises/migrations/0030_increase_author_field_length.py b/wger/exercises/migrations/0030_increase_author_field_length.pyindex 45aa68c45..6b84e2183 100644--- a/wger/exercises/migrations/0030_increase_author_field_length.py+++ b/wger/exercises/migrations/0030_increase_author_field_length.py@@ -15,7 +15,7 @@ class Migration(migrations.Migration):field=models.CharField(blank=True,help_text='If you are not the author, enter the name or source here.',- max_length=2500,+ max_length=3500,null=True,verbose_name='Author(s)',),@@ -26,7 +26,7 @@ class Migration(migrations.Migration):field=models.CharField(blank=True,help_text='If you are not the author, enter the name or source here.',- max_length=2500,+ max_length=3500,null=True,verbose_name='Author(s)',),@@ -37,7 +37,7 @@ class Migration(migrations.Migration):field=models.CharField(blank=True,help_text='If you are not the author, enter the name or source here.',- max_length=2500,+ max_length=3500,null=True,verbose_name='Author(s)',),@@ -48,7 +48,7 @@ class Migration(migrations.Migration):field=models.CharField(blank=True,help_text='If you are not the author, enter the name or source here.',- max_length=2500,+ max_length=3500,null=True,verbose_name='Author(s)',),@@ -59,7 +59,7 @@ class Migration(migrations.Migration):field=models.CharField(blank=True,help_text='If you are not the author, enter the name or source here.',- max_length=2500,+ max_length=3500,null=True,verbose_name='Author(s)',),@@ -70,7 +70,7 @@ class Migration(migrations.Migration):field=models.CharField(blank=True,help_text='If you are not the author, enter the name or source here.',- max_length=2500,+ max_length=3500,null=True,verbose_name='Author(s)',),@@ -81,7 +81,7 @@ class Migration(migrations.Migration):field=models.CharField(blank=True,help_text='If you are not the author, enter the name or source here.',- max_length=2500,+ max_length=3500,null=True,verbose_name='Author(s)',),@@ -92,7 +92,7 @@ class Migration(migrations.Migration):field=models.CharField(blank=True,help_text='If you are not the author, enter the name or source here.',- max_length=2500,+ max_length=3500,null=True,verbose_name='Author(s)',),diff --git a/wger/nutrition/migrations/0022_add_remote_id_increase_author_field_length.py b/wger/nutrition/migrations/0022_add_remote_id_increase_author_field_length.pyindex 8d1992aee..85b98cf5d 100644--- a/wger/nutrition/migrations/0022_add_remote_id_increase_author_field_length.py+++ b/wger/nutrition/migrations/0022_add_remote_id_increase_author_field_length.py@@ -35,7 +35,7 @@ class Migration(migrations.Migration):field=models.CharField(blank=True,help_text='If you are not the author, enter the name or source here.',- max_length=2500,+ max_length=3500,null=True,verbose_name='Author(s)',),@@ -46,7 +46,7 @@ class Migration(migrations.Migration):field=models.CharField(blank=True,help_text='If you are not the author, enter the name or source here.',- max_length=2500,+ max_length=3500,null=True,verbose_name='Author(s)',),diff --git a/wger/utils/models.py b/wger/utils/models.pyindex 5e7fe89bc..699560924 100644--- a/wger/utils/models.py+++ b/wger/utils/models.py@@ -20,7 +20,6 @@ from django.utils.translation import gettext_lazy as _from wger.core.models import Licensefrom wger.utils.constants import CC_BY_SA_4_ID-"""Abstract model classes"""@@ -61,7 +60,7 @@ class AbstractLicenseModel(models.Model):license_author = models.CharField(verbose_name=_('Author(s)'),- max_length=2500,+ max_length=3500,blank=True,null=True,help_text=_('If you are not the author, enter the name or source here.'),