Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Fix default site name #568

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions tbx/core/migrations/0154_alter_socialmediasettings_site_name.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 4.2.8 on 2024-03-19 16:21

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("torchbox", "0153_change_minimum_number_for_key_points"),
]

operations = [
migrations.AlterField(
model_name="socialmediasettings",
name="site_name",
field=models.CharField(
blank=True,
default="Torchbox",
help_text="Site name, used by Open Graph.",
max_length=255,
),
),
]
2 changes: 1 addition & 1 deletion tbx/core/utils/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ class SocialMediaSettings(BaseSiteSetting):
site_name = models.CharField(
max_length=255,
blank=True,
default="{{ cookiecutter.project_name }}",
default="Torchbox",
help_text="Site name, used by Open Graph.",
)
Loading