Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 330 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 330 Bytes

django-storages-migrate

Install

Add to INSTALLED_APPS

settings.py

INSTALLED_APPS = (
    ...

    'storages',
    'storages.commands',
)

Using sync_media app -m model -f field [-r]

-r - optional - Remove local file after uploading into storage

./manage.py sync_media core -m User -f logo -r