aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/contrib/sites/migrations/0002_alter_domain_unique.py
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/contrib/sites/migrations/0002_alter_domain_unique.py')
-rw-r--r--alphabetlearning/contrib/sites/migrations/0002_alter_domain_unique.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/alphabetlearning/contrib/sites/migrations/0002_alter_domain_unique.py b/alphabetlearning/contrib/sites/migrations/0002_alter_domain_unique.py
new file mode 100644
index 0000000..4a44a6a
--- /dev/null
+++ b/alphabetlearning/contrib/sites/migrations/0002_alter_domain_unique.py
@@ -0,0 +1,21 @@
+import django.contrib.sites.models
+from django.db import migrations
+from django.db import models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [("sites", "0001_initial")]
+
+ operations = [
+ migrations.AlterField(
+ model_name="site",
+ name="domain",
+ field=models.CharField(
+ max_length=100,
+ unique=True,
+ validators=[django.contrib.sites.models._simple_domain_name_validator],
+ verbose_name="domain name",
+ ),
+ )
+ ]