[damned-lies] Extend domain.layout length to 100



commit 162ecd0b0dc426e8556c2a60079024f6df1f1b1d
Author: Claude Paroz <claude 2xlibre net>
Date:   Mon Aug 20 22:40:43 2018 +0200

    Extend domain.layout length to 100

 stats/migrations/0013_domain_layout.py | 2 +-
 stats/models.py                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/stats/migrations/0013_domain_layout.py b/stats/migrations/0013_domain_layout.py
index 46701f6f..cf07eeed 100644
--- a/stats/migrations/0013_domain_layout.py
+++ b/stats/migrations/0013_domain_layout.py
@@ -11,7 +11,7 @@ class Migration(migrations.Migration):
         migrations.AddField(
             model_name='domain',
             name='layout',
-            field=models.CharField(default='', help_text="UI standard is 'po/{lang}.po', doc standard is 
'po/{lang}/{lang}.po'", max_length=50),
+            field=models.CharField(default='', help_text="UI standard is 'po/{lang}.po', doc standard is 
'po/{lang}/{lang}.po'", max_length=100),
             preserve_default=False,
         ),
     ]
diff --git a/stats/models.py b/stats/models.py
index 10f97814..54b8449d 100644
--- a/stats/models.py
+++ b/stats/models.py
@@ -734,7 +734,7 @@ class Domain(models.Model):
     dtype = models.CharField(max_length=5, choices=DOMAIN_TYPE_CHOICES, default='ui')
     directory = models.CharField(max_length=50)
     layout = models.CharField(
-        max_length=50,
+        max_length=100,
         help_text="UI standard is 'po/{lang}.po', doc standard is 'po/{lang}/{lang}.po'"
     )
     pot_method = models.CharField(max_length=20, choices=POT_METHOD_CHOICES, default='auto')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]