from pathlib import Path

from empty_testproject.settings.base import *  # noqa: F403,F401

BASE_PATH = Path(__file__).resolve().parents[4]

INSTALLED_APPS = list(INSTALLED_APPS) + [  # noqa: F405
    "ocyan.plugin.wagtail_blog.apps.OcyanPluginWagtailBlogAppConfig",
]

STATIC_URL = "/static/"
STATIC_ROOT = str(BASE_PATH / "test-static")
MEDIA_URL = "/media/"
MEDIA_ROOT = str(BASE_PATH / "test-media")

STORAGES = {
    "default": {
        "BACKEND": "django.core.files.storage.FileSystemStorage",
    },
    "staticfiles": {
        "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
    },
}
