← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1796312] Re: tox -e manage -- startdash doesn't work

 

Reviewed:  https://review.openstack.org/608274
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=b2219d5aa6960f45e5491af9f07b571c66f87433
Submitter: Zuul
Branch:    master

commit b2219d5aa6960f45e5491af9f07b571c66f87433
Author: Ivan Kolodyazhny <e0ne@xxxxxxxxx>
Date:   Fri Oct 5 17:05:02 2018 +0300

    Fix startdash and startpanel management commands
    
    During startdash and startpanel commands execution Django loads base
    templates and tries to compile them. We need to use templatetag [1] to
    avoid this behaviour.
    
    As alternative solution we can use verbatim [2] block for it but it
    makes our base tamplets less readable, IMO.
    
    [1] https://docs.djangoproject.com/en/dev/ref/templates/builtins/#templatetag
    [2] https://docs.djangoproject.com/en/dev/ref/templates/builtins/#std:templatetag-verbatim
    
    Change-Id: I1a489d4d4210e9c72d138cff9bfee664d424be20
    Closes-Bug: #1796312


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1796312

Title:
  tox -e manage -- startdash doesn't work

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  I`m following a tutorial of Building a Dashboard using Horizon.
  (link: https://docs.openstack.org/horizon/latest/contributor/tutorials/dashboard.html#tutorials-dashboard)

  However, provided custom management command doesn't create boilerplate
  code.

  I typed tox -e manage -- startdash mydashboard --target
  openstack_dashboard/dashboards/mydashboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1796312/+subscriptions


References