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

Commit

Permalink
Merge pull request #568 from torchbox/fix/default-site-name
Browse files Browse the repository at this point in the history
Fix default site name
  • Loading branch information
engineervix authored Mar 20, 2024
2 parents 988150b + 6218c71 commit 4754f75
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
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.",
)

0 comments on commit 4754f75

Please sign in to comment.