Skip to content

Commit

Permalink
add autofixture to dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sunForest committed Apr 23, 2015
1 parent f713147 commit 41155f7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion avipost/avipost/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get_env_variable(var_name):
'django.contrib.messages',
'django.contrib.staticfiles',
'postcards',
'rest_framework'
'rest_framework',
)

MIDDLEWARE_CLASSES = (
Expand Down
6 changes: 5 additions & 1 deletion avipost/avipost/settings/dev_ssen.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@
'HOST': '127.0.0.1',
'PORT': '5432',
}
}
}

INSTALLED_APPS += (
'autofixture',
)
1 change: 1 addition & 0 deletions data/postcards.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"message":"Hello!","cover":"http://127.0.0.1:8000/media/placeholder.jpg","sender":"demo"},{"message":"Hello!","cover":"http://127.0.0.1:8000/media/placeholder.jpg","sender":"demo"},{"message":"Hello!","cover":"http://127.0.0.1:8000/media/placeholder.jpg","sender":"demo"},{"message":"Hello!","cover":"http://127.0.0.1:8000/media/placeholder.jpg","sender":"demo"},{"message":"Hello!","cover":"http://127.0.0.1:8000/media/placeholder.jpg","sender":"demo"},{"message":"Hello!","cover":"http://127.0.0.1:8000/media/placeholder.jpg","sender":"demo"},{"message":"Hello!","cover":"http://127.0.0.1:8000/media/placeholder.jpg","sender":"demo"},{"message":"Hello!","cover":"http://127.0.0.1:8000/media/placeholder.jpg","sender":"demo"},{"message":"Hello!","cover":"http://127.0.0.1:8000/media/placeholder.jpg","sender":"demo"},{"message":"Hello!","cover":"http://127.0.0.1:8000/media/placeholder.jpg","sender":"demo"}]
1 change: 1 addition & 0 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ psycopg2==2.6
requests==2.6.0
wsgiref==0.1.2
Unipath==1.1
django-autofixture==0.10.0

0 comments on commit 41155f7

Please sign in to comment.