diff --git a/eshop/eshop_project/settings/base.py b/eshop/eshop_project/settings/base.py index fd01332..bc79b85 100644 --- a/eshop/eshop_project/settings/base.py +++ b/eshop/eshop_project/settings/base.py @@ -127,10 +127,6 @@ MPTT_ADMIN_LEVEL_INDENT = 20 # https://docs.djangoproject.com/en/2.0/ref/settings/#databases DATABASES = { - 'extra': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': os.path.join(PROJECT_DIR, 'eshop.sqlite.db') - }, 'default': { 'ENGINE': env.str('DB_ENGINE'), 'NAME': env.str('DB_NAME'), diff --git a/eshop/products/tests/__init__.py b/eshop/products/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/eshop/products/tests.py b/eshop/products/tests/test_models.py similarity index 92% rename from eshop/products/tests.py rename to eshop/products/tests/test_models.py index 0045d22..0ec406e 100644 --- a/eshop/products/tests.py +++ b/eshop/products/tests/test_models.py @@ -1,5 +1,5 @@ from django.test import TestCase -from .models import Manufacturer, STATUS_DEFAULT +from products.models import Manufacturer, STATUS_DEFAULT class ManufactureTestCase(TestCase):