src/notes/settings.py
author ymh <ymh.work@gmail.com>
Thu, 29 Jul 2021 16:46:20 +0200
changeset 207 c39d91bd16af
parent 142 56850f5c73f6
permissions -rw-r--r--
update dependencies and create new version

# -*- coding: utf-8 -*-

from django.conf import settings as base_settings

DEFAULT_NOTES_SETTINGS = {
    'PROTOCOL': {
        "id": "a4977c1f-4752-4aff-b724-eec4033af25c",
        "owner": None,
        "version": "1",
        "description": "Default protocol",
        "title": "default",
        "metacategories": [{
            "id": "e5712a76-857a-4769-b27e-a3ac3fb38b4d",
            "version": 1,
            "base": None,
            "title": "Important",
            "description": "Important.",
            "color": "#F1C40F",
            "has_comment": False
        }, {
            "id": "06aded0d-5393-4eef-bad3-f18930047361",
            "version": 1,
            "base": None,
            "title": "Mot-clé",
            "description": "Mot-clé.",
            "color": "#2ECC71",
            "has_comment": False
        }, {
            "id": "908d9190-2b43-4acc-bfc1-ab10d2c45663",
            "version": 1,
            "base": None,
            "title": "Commentaire",
            "description": "Commentaire.",
            "color": "#3498DB",
            "has_comment": True
        }]
    }
}

NOTES_SETTINGS = dict(DEFAULT_NOTES_SETTINGS, **getattr(base_settings, 'NOTES_SETTINGS', {}))