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
|
@ -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):
|
class SiteSettings(models.Model):
|
||||||
''' customized settings for this instance '''
|
''' 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(
|
instance_description = models.TextField(
|
||||||
default="This instance has no description.")
|
default="This instance has no description.")
|
||||||
code_of_conduct = models.TextField(
|
code_of_conduct = models.TextField(
|
||||||
|
|
Loading…
Reference in New Issue