Skip to content

Krukov/django-storages-migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Django command for upload media files from local into storage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages