Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add fixture with days of the week
Roland Geider44809d1ee7ef
diff --git a/README.rst b/README.rstindex 020fb0a26..64dea1980 100644--- a/README.rst+++ b/README.rst@@ -106,6 +106,7 @@ For this, load these fixtures, *in this order*, as some dependend on each otherlanguages) ::$ python manage.py loaddata languages+ $ python manage.py loaddata days_of_week$ python manage.py loaddata muscles$ python manage.py loaddata categories$ python manage.py loaddata exercises@@ -151,4 +152,4 @@ was something that didn't behave as you expected. Alternatively, you can also opthe bitbucket tracker: https://bitbucket.org/rolandgeider/workout_manager/issues-.. _installation page: https://docs.djangoproject.com/en/1.4/intro/install/\ No newline at end of file+.. _installation page: https://docs.djangoproject.com/en/1.4/intro/install/diff --git a/manager/fixtures/days_of_week.json b/manager/fixtures/days_of_week.jsonnew file mode 100644index 000000000..8fec9ef90--- /dev/null+++ b/manager/fixtures/days_of_week.json@@ -0,0 +1,51 @@+[+ {+ "pk": 1,+ "model": "manager.daysofweek",+ "fields": {+ "day_of_week": "Monday"+ }+ },+ {+ "pk": 2,+ "model": "manager.daysofweek",+ "fields": {+ "day_of_week": "Tuesday"+ }+ },+ {+ "pk": 3,+ "model": "manager.daysofweek",+ "fields": {+ "day_of_week": "Wednesday"+ }+ },+ {+ "pk": 4,+ "model": "manager.daysofweek",+ "fields": {+ "day_of_week": "Thursday"+ }+ },+ {+ "pk": 5,+ "model": "manager.daysofweek",+ "fields": {+ "day_of_week": "Friday"+ }+ },+ {+ "pk": 6,+ "model": "manager.daysofweek",+ "fields": {+ "day_of_week": "Saturday"+ }+ },+ {+ "pk": 7,+ "model": "manager.daysofweek",+ "fields": {+ "day_of_week": "Sunday"+ }+ }+]\ No newline at end of file