#25567: Remove obsolete MEDIA_URL/STATIC_URL compatibility condition ------------------------------------------------+------------------------ Reporter: claudep | Owner: nobody Type: Cleanup/optimization | Status: new Component: Forms | Version: master Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 1 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | ------------------------------------------------+------------------------ The `absolute_path` method of the forms `Media` class still contains a compatibility condition that uses `settings.MEDIA_URL` to construct the path when `settings.STATIC_URL` is not set. This was introduced in Django 1.3 as a backwards compatibility measure when the media/static separation was introduced. I think this is now largely obsolete and should be removed.
-- Ticket URL: <https://code.djangoproject.com/ticket/25567> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/050.7eb08bae436247867801e553829ac956%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.