Update dashboard to use django.contrib.staticfiles for static media
Bug #838334 reported by
Gabriel Hurley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Wishlist
|
Gabriel Hurley |
Bug Description
Current dashboard implementation uses the old pattern of storing static media in the MEDIA_ROOT directory and serving from MEDIA_URL. This is detrimental to separation of static media from uploaded media, doesn't scale well to support media from third-party applications, and goes against current best practices in the Django community. Using Django 1.3's contrib.staticfiles app and relocating the "media" directory to be a "static" directory inside the dashboard app will take care of this problem and support future expansion much more easily.
Changed in openstack-dashboard: | |
status: | New → Fix Committed |
importance: | Undecided → Wishlist |
assignee: | nobody → Gabriel Hurley (gabriel-hurley) |
milestone: | none → diablo-integrated-freeze |
Changed in openstack-dashboard: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Pull request with fix here: https:/ /github. com/4P/ openstack- dashboard/ pull/100