static_url should be configurable

Bug #1474551 reported by David Lyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
David Lyle

Bug Description

STATIC_URL does not have to live under Horizon's WEBROOT. This was mistakenly tied when the WEBROOT was changed, this should be flexible.

Tags: horizon-core
Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/204173
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=3dcad99e715c82aa4d03ea683ad0ede0c34a79a4
Submitter: Jenkins
Branch: master

commit 3dcad99e715c82aa4d03ea683ad0ede0c34a79a4
Author: David Lyle <email address hidden>
Date: Tue Jul 21 11:16:22 2015 -0600

    Allow STATIC_URL override

    When the change was committed to allow moving WEBROOT from '/',
    STATIC_URL became hard-coded based on WEBROOT. This is an unnecessary
    linking and breaks downstream packages.

    This patch supports overriding STATIC_URL in local_settings.py and have
    it honored by settings.py.

    Closes-Bug: #1474551
    Change-Id: Id0c5b2c6e4ff5f85ec94c5f474382664b303be23

Changed in horizon:
status: In Progress → Fix Committed
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: liberty-2 → 8.0.0
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.