From af7ba26aa5c615c9d53df5591c266bd52922b8b0 Mon Sep 17 00:00:00 2001 From: Marnanel Thurman Date: Mon, 8 Oct 2018 22:01:30 +0100 Subject: [PATCH] ThingUser status defaults to local --- test_settings.py | 2 +- .../migrations/0004_auto_20181008_1600.py | 18 ++++++++++++++++++ things_for_testing/models.py | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 things_for_testing/migrations/0004_auto_20181008_1600.py diff --git a/test_settings.py b/test_settings.py index a93cb00..91e6732 100644 --- a/test_settings.py +++ b/test_settings.py @@ -39,7 +39,7 @@ CELERY = { 'task_ignore_result': True, } -DEBUG = True +DEBUG = False if DEBUG: LOGGING = { diff --git a/things_for_testing/migrations/0004_auto_20181008_1600.py b/things_for_testing/migrations/0004_auto_20181008_1600.py new file mode 100644 index 0000000..7cc218f --- /dev/null +++ b/things_for_testing/migrations/0004_auto_20181008_1600.py @@ -0,0 +1,18 @@ +# Generated by Django 2.1.1 on 2018-10-08 16:00 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('things_for_testing', '0003_thingarticle_remote_url'), + ] + + operations = [ + migrations.AlterField( + model_name='thinguser', + name='remote', + field=models.BooleanField(default=False), + ), + ] diff --git a/things_for_testing/models.py b/things_for_testing/models.py index 28f501e..81e5b22 100644 --- a/things_for_testing/models.py +++ b/things_for_testing/models.py @@ -12,7 +12,7 @@ class ThingUser(models.Model): ) remote = models.BooleanField( - default=True, + default=False, ) def __str__(self):