Update dashboard to use django.contrib.staticfiles for static media

Bug #838334 reported by Gabriel Hurley
6
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.

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :
Devin Carlen (devcamcar)
Changed in openstack-dashboard:
status: New → Fix Committed
importance: Undecided → Wishlist
assignee: nobody → Gabriel Hurley (gabriel-hurley)
milestone: none → diablo-integrated-freeze
Devin Carlen (devcamcar)
Changed in openstack-dashboard:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.