mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
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:
parent
c77cb38c83
commit
93738bb48c
2 changed files with 19 additions and 1 deletions
18
bookwyrm/migrations/0051_auto_20201005_2142.py
Normal file
18
bookwyrm/migrations/0051_auto_20201005_2142.py
Normal 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),
|
||||
),
|
||||
]
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue