From 253d0fd2d0c2832e0b75398021fb9db37b1d873f Mon Sep 17 00:00:00 2001 From: Christophe Siraut Date: Wed, 12 Feb 2014 16:00:35 +0100 Subject: [PATCH] Add initial data. --- .gitignore | 1 - general/fixtures/auth.json | 20 ++++++++++++++++++++ general/fixtures/initial_data.json | 13 +++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 general/fixtures/auth.json create mode 100644 general/fixtures/initial_data.json diff --git a/.gitignore b/.gitignore index 2eaa24c..3b3507e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ *.pyc -fix* *.sqlite *~ env diff --git a/general/fixtures/auth.json b/general/fixtures/auth.json new file mode 100644 index 0000000..2d8e9f2 --- /dev/null +++ b/general/fixtures/auth.json @@ -0,0 +1,20 @@ +[ +{ + "pk": 1, + "model": "auth.user", + "fields": { + "username": "admin", + "first_name": "", + "last_name": "", + "is_active": true, + "is_superuser": true, + "is_staff": true, + "last_login": "2013-12-02T12:15:10.024Z", + "groups": [], + "user_permissions": [], + "password": "pbkdf2_sha256$12000$qFAnrOCVTYA0$s+i3ix4KORuLNa/F23KJ136UOfT8wrTRK+YK0WjGt1g=", + "email": "my@eamailaddress.org", + "date_joined": "2013-12-02T12:14:50.508Z" + } +} +] diff --git a/general/fixtures/initial_data.json b/general/fixtures/initial_data.json new file mode 100644 index 0000000..822463a --- /dev/null +++ b/general/fixtures/initial_data.json @@ -0,0 +1,13 @@ +[ +{ + "pk": 1, + "model": "general.settings", + "fields": { + "site_address": "http://flyers.domainepublic.net/", + "logo": "", + "site_description": "Nous envoyons des flyers de spectacles de th\u00e9atre.", + "site_name": "Flyers", + "home_page": null + } +} +] -- 2.22.0