Uses fixed string as site name

The domain is *better* but it was causing the makemigrations to trigger
whenever the domain name in .env changes, which is a real hassle with
a free version of ngrok
This commit is contained in:
Mouse Reeve 2020-10-05 14:42:15 -07:00
parent c77cb38c83
commit 93738bb48c
2 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,18 @@
# Generated by Django 3.0.7 on 2020-10-05 21:42
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('bookwyrm', '0050_auto_20201002_2156'),
]
operations = [
migrations.AlterField(
model_name='sitesettings',
name='name',
field=models.CharField(default='BookWyrm', max_length=100),
),
]

View file

@ -11,7 +11,7 @@ from .user import User
class SiteSettings(models.Model):
''' customized settings for this instance '''
name = models.CharField(default=DOMAIN, max_length=100)
name = models.CharField(default='BookWyrm', max_length=100)
instance_description = models.TextField(
default="This instance has no description.")
code_of_conduct = models.TextField(