diff --git a/projects/migrations/0012_alter_project_category.py b/projects/migrations/0012_alter_project_category.py new file mode 100644 index 0000000..0a84b87 --- /dev/null +++ b/projects/migrations/0012_alter_project_category.py @@ -0,0 +1,27 @@ +# Generated by Django 5.1.2 on 2024-10-16 14:51 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("projects", "0011_remove_project_id_alter_project_shortname"), + ] + + operations = [ + migrations.AlterField( + model_name="project", + name="category", + field=models.CharField( + choices=[ + ("web", "Web Design"), + ("mobile", "Mobile"), + ("wordpress", "Wordpress"), + ("e-commerce", "E-commerce"), + ], + default="web", + max_length=20, + ), + ), + ] diff --git a/projects/models.py b/projects/models.py index b5eea39..32f175b 100644 --- a/projects/models.py +++ b/projects/models.py @@ -12,7 +12,7 @@ class Project(models.Model): ("web", "Web Design"), ("mobile", "Mobile"), ("wordpress", "Wordpress"), - ("ecommerce", "E-commerce"), + ("e-commerce", "E-commerce"), ] title = models.CharField(max_length=100) shortname = models.CharField(