diff --git a/note_kfet/fixtures/initial.json b/note_kfet/fixtures/initial.json new file mode 100644 index 00000000..08501606 --- /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 410f496f..92ed5819 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/