I have two django apps on heroku, app_B
is a copy of a section of app_A
.
The app_A
has models with ImageField
:
image = models.ImageField(null=True, upload_to=get_image_uri)
I'd like to copy these objects to the app_B
.
The model I'd like to copy looks exactly the same. The images are stored in Amazon AWS.
The django command dumpdata
/ loaddata
gives me FK errors..
However, I could try to solve those FK errors but I'm not sure if loaddata
can copy the images themselves, or am I missing something?
Is there any other way to do this?