Skip to content

Commit

Permalink
fix e-commerce filter button
Browse files Browse the repository at this point in the history
  • Loading branch information
victoriajury committed Oct 16, 2024
1 parent 169bb8b commit f547da5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions projects/migrations/0012_alter_project_category.py
Original file line number Diff line number Diff line change
@@ -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,
),
),
]
2 changes: 1 addition & 1 deletion projects/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f547da5

Please sign in to comment.