Mercurial > public > sg101
view tools/load_fixtures.bash @ 964:51a2051588f5
Image uploading now expects a file.
Refactor image uploading to not expect a Django UploadedFile and use a regular
file instead. This will be needed for the future feature of being able to save
and upload images from the Internet.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 02 Sep 2015 20:50:08 -0500 |
parents | 254db4cb6a86 |
children |
line wrap: on
line source
#!/bin/bash python manage.py loaddata ./forums/fixtures/private.json ./forums/fixtures/forums.json ./news/fixtures/news_categories.json ./podcast/fixtures/channels.json ./core/fixtures/flatpages.json ./smiley/fixtures/smilies.json ./downloads/fixtures/downloads_extensions.json ./downloads/fixtures/downloads_categories.json ./bio/fixtures/badges.json ./oembed/fixtures/providers.json ./weblinks/fixtures/weblinks_categories.json ./accounts/fixtures/accounts.json