I have two separate servers. One is hosting django instance on "www.example.com", the other is serving static files on "static.example.com". In django settings, MEDIA_URL points to "static.example.com". Therefore my photologue is using the "static.example.com" domain.
I want to use "www.example.com" for my photologue, but I can't figure out how I can override the MEDIA_URL setting for the photologue. Do you know any way to solve this?
Note: Django is serving over apache, Static files hosted on AWS (Amazon Web Service). I just want to change only photologue domain. Other static files must stay where they are.