forked from mirrors/bookwyrm
Merge pull request #228 from mouse-reeve/site-name
Uses fixed string as site name
This commit is contained in:
commit
74a1bbf624
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