mklymyshyn / fabsync-annoying

It is annoying to backup/sync database and media files between local/staging/production. This project to make it easy.
1 stars 0 forks source link

Inline FileField contents when generating fixtures #1

Open dgladkov opened 14 years ago

dgladkov commented 14 years ago

This feature has nothing to do with synchronization of media, but it would be great to have FileFields inlined in fixtures. So, when we generate fixture from our live data, the script would encode uploaded files in base64 and put base64 content right into the fixture file. Then, when loading the fixture, the script would decode base64-encoded file back and put it into the corresponding field's upload_to directory.

mccallus commented 14 years ago

I like that idea, vote + 1