diff --git a/note_kfet/fixtures/initial.json b/note_kfet/fixtures/initial.json new file mode 100644 index 0000000000000000000000000000000000000000..085016060129282389a44770095c87fd3889a874 --- /dev/null +++ b/note_kfet/fixtures/initial.json @@ -0,0 +1,10 @@ +[ + { + "model": "sites.site", + "pk": 1, + "fields": { + "domain": "localhost", + "name": "La Note Kfet \ud83c\udf7b" + } + } +] \ No newline at end of file diff --git a/note_kfet/settings/base.py b/note_kfet/settings/base.py index 410f496fe4d7811b90078dea294ab04bd29b2953..92ed5819e05e54b8f195d029697801e413eaa842 100644 --- a/note_kfet/settings/base.py +++ b/note_kfet/settings/base.py @@ -160,6 +160,8 @@ USE_TZ = True LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")] +FIXTURE_DIRS = [os.path.join(BASE_DIR, "note_kfet/fixtures")] + # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/2.2/howto/static-files/