Allow using a settings.py setting instead of runserver's "--adminmedia" settings
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
As far as I could see, there is no such configuration option currently, that would setting what
Having such a setting, possibly called ADMIN_MEDIA_ROOT (following MEDIA_ROOT) would allow one to ensure that if --adminmedia setting is needed, it is always used.
Note that the "don't serve media files with django in production" doesn't stand as a counter-argument, since having such a setting would only affect the dev server (manage.py runserver) which shouldn't be used in production anyway.
This request seems to have been raised previously in #8336, but that tickets was closed as wontfix; Note that that old ticket only mentioned having such a configuration option tangentially, in http://code.djangoproject.com/ticket/8336#comment:7, so I would like to assume that the wontfix verdict is ment for the orignal issue raised in that ticket, and not to this feature, which is raised in that comment.