[fix bug 884479] Remove settings.MEDIA_URL from RegisterMiddleware when Debug = False
Merge pull request #523 from Sancus/fixmiddleware

[fix bug 884479] Remove settings.MEDIA_URL from RegisterMiddleware when ...