diff --git a/photo21/fixtures/initial.json b/photo21/fixtures/initial.json new file mode 100644 index 0000000..62ad580 --- /dev/null +++ b/photo21/fixtures/initial.json @@ -0,0 +1,10 @@ +[ + { + "model": "sites.site", + "pk": 1, + "fields": { + "domain": "photos.crans.org", + "name": "Serveur photos" + } + } +] \ No newline at end of file diff --git a/photo21/settings.py b/photo21/settings.py index f2da6ab..647abe7 100644 --- a/photo21/settings.py +++ b/photo21/settings.py @@ -167,7 +167,7 @@ MEDIA_URL = '/media/' LOCALE_PATHS = [os.path.join(BASE_DIR, 'photo21/locale')] -FIXTURE_DIRS = [os.path.join(BASE_DIR, 'note_kfet/fixtures')] +FIXTURE_DIRS = [os.path.join(BASE_DIR, 'photo21/fixtures')] # Email settings if DEBUG: