Skip to content

Commit

Permalink
Make Wrapped Template Field Longer
Browse files Browse the repository at this point in the history
  • Loading branch information
vcai122 committed Nov 24, 2024
1 parent 04cedd5 commit 2fe43f0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions backend/wrapped/migrations/0003_alter_page_template_path.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 5.0.2 on 2024-11-24 18:06

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("wrapped", "0002_rename_page_globalstatpagefield_page_and_more"),
]

operations = [
migrations.AlterField(
model_name="page",
name="template_path",
field=models.CharField(max_length=200),
),
]
2 changes: 1 addition & 1 deletion backend/wrapped/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __str__(self) -> str:
class Page(models.Model):

name = models.CharField(max_length=50, primary_key=True, null=False, blank=False)
template_path = models.CharField(max_length=50, null=False, blank=False)
template_path = models.CharField(max_length=200, null=False, blank=False)
individual_stats = models.ManyToManyField(
IndividualStatKey, through="IndividualStatPageField", blank=True
)
Expand Down

0 comments on commit 2fe43f0

Please sign in to comment.