From 72cb0ea706af79d55af21fe279a4369c22d5d02a Mon Sep 17 00:00:00 2001 From: Adam Dobrawy Date: Sat, 21 Apr 2018 07:27:48 +0200 Subject: [PATCH 1/2] Avoid "settings.DATABASES is improperly configured. Please supply the NAME value." --- .gitignore | 1 + django_mailbox/tests/settings.py | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 9b355bf6..804fef47 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ dummy_project/* .cache/ .tox/ messages +*.sqlite3 diff --git a/django_mailbox/tests/settings.py b/django_mailbox/tests/settings.py index 0dcd799f..66c7168e 100644 --- a/django_mailbox/tests/settings.py +++ b/django_mailbox/tests/settings.py @@ -1,5 +1,6 @@ DATABASES = { 'default': { + 'NAME': 'db.sqlite3', 'ENGINE': 'django.db.backends.sqlite3', }, } From 55bf24b199bcd2380b8c3237732828c7afac90f6 Mon Sep 17 00:00:00 2001 From: Adam Dobrawy Date: Sat, 21 Apr 2018 07:39:50 +0200 Subject: [PATCH 2/2] Add missing migrations --- .../migrations/0007_auto_20180421_0026.py | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 django_mailbox/migrations/0007_auto_20180421_0026.py diff --git a/django_mailbox/migrations/0007_auto_20180421_0026.py b/django_mailbox/migrations/0007_auto_20180421_0026.py new file mode 100644 index 00000000..4195f707 --- /dev/null +++ b/django_mailbox/migrations/0007_auto_20180421_0026.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.7 on 2018-04-21 00:26 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('django_mailbox', '0006_mailbox_last_polling'), + ] + + operations = [ + migrations.AlterModelOptions( + name='mailbox', + options={'verbose_name': 'Mailbox', 'verbose_name_plural': 'Mailboxes'}, + ), + migrations.AlterModelOptions( + name='message', + options={'verbose_name': 'E-mail message', 'verbose_name_plural': 'E-mail messages'}, + ), + migrations.AlterModelOptions( + name='messageattachment', + options={'verbose_name': 'Message attachment', 'verbose_name_plural': 'Message attachments'}, + ), + ]