Bläddra i källkod

Add missing migrations

master
Michael van Tellingen 9 år sedan
förälder
incheckning
b7ebbbfe17
1 ändrade filer med 21 tillägg och 0 borttagningar
  1. 21
    0
      src/oscar/apps/catalogue/migrations/0008_auto_20160304_1652.py

+ 21
- 0
src/oscar/apps/catalogue/migrations/0008_auto_20160304_1652.py Visa fil

@@ -0,0 +1,21 @@
1
+# -*- coding: utf-8 -*-
2
+from __future__ import unicode_literals
3
+
4
+from django.db import migrations, models
5
+import django.core.validators
6
+import oscar.core.validators
7
+
8
+
9
+class Migration(migrations.Migration):
10
+
11
+    dependencies = [
12
+        ('catalogue', '0007_auto_20151207_1440'),
13
+    ]
14
+
15
+    operations = [
16
+        migrations.AlterField(
17
+            model_name='productattribute',
18
+            name='code',
19
+            field=models.SlugField(max_length=128, verbose_name='Code', validators=[django.core.validators.RegexValidator(regex=b'^[a-zA-Z_][0-9a-zA-Z_]*$', message="Code can only contain the letters a-z, A-Z, digits, and underscores, and can't start with a digit."), oscar.core.validators.non_python_keyword]),
20
+        ),
21
+    ]

Laddar…
Avbryt
Spara