Commit Graph

7 Commits

Author SHA1 Message Date
Takashi Kajinami c14f9f7147 Fix runtime detection in virtualenv
The previous change e85356dfd7 broke
detection in virtualenv.

Change-Id: If403d134122c4b55e653057a9eb6c469bc66b39e
2023-09-19 13:18:18 +09:00
Thomas Goirand e85356dfd7 Fix manage.py to use python3
Looks like we still have some py2 legacy sheebang that we need fixing.

Change-Id: I44a93385c201ddcd3f5f5de30b8191e401188388
2023-06-08 12:22:39 +02:00
Akihiro Motoki 61091388e9 hacking: noqa cleanup in horizon
attribute-level imports are not checked by hacking module now.
most noqa is used to disable warnings on attribute-level imports.
This commit drops noqa for this purpose.

After this, there are 8 noqa under horizon/ :)

In addition to this, the following changes are made.

horizon/exceptions.py: The following imports are dropped.
They are not used anywhere.
  from django.http import HttpRequest
  from django.views.debug import CLEANSED_SUBSTITUTE

horizon/forms/__init__.py:
Some entries were missing in __all__. They are added.

Change-Id: I33b504ef6c396f0675e8a340867e2ca59c77c684
2017-03-17 19:38:47 +00:00
Paul Belanger 74117eb8b6 Gate on H102 Apache 2.0 license header not found for pep8
Now all files are properly licensed per OpenStack Hacking.

Change-Id: I223d983018568357197b0d9cf5dde12c135c53c9
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
2013-11-19 13:55:04 -05:00
Toshi Hayashi 88b9335910 Delete and launch devices on the topology view
This feature enables to delete and launch a instance or router on the network
topology view. So you can do basic actions on this view.
Also it enables to change view small or normal. You can see more networks and
devices in the small view.

implements bp editable-network-topology-view

fixes bug #1215683

Change-Id: Ie65d50d2a99f72696c8f10223f8430ad5f90b144
2013-08-29 00:07:27 -07:00
lrqrun 9c77ce0fa9 Fix PEP8 issues.
Fix some pep8 issues in manage.py make the code looks pretty.

Change-Id: I0e02ed538dbef9ab41a3c698e94ac56e4afc018e
2012-08-29 15:53:07 +08:00
Gabriel Hurley 052aa55d34 Unifies the project packaging into one set of modules.
There are no longer two separate projects living inside the horizon
repository. There is a single project now with a single setup.py,
single README, etc.

The openstack-dashboard/dashboard django project is now named
"openstack_dashboard" and lives as an example project in the
topmost horizon directory.

The "horizon/horizon" directory has been bumped up a level and now
is directly on the path when the root horizon directory is on
your python path.

Javascript media which the horizon module directly relies upon
now ships in the horizon/static dir rather than
openstack-dashboard/dashboard/static.

All the corresponding setup, installation, build, and env scripts
have been updated accordingly.

Implements blueprint unified-packaging.

Change-Id: Ieed8e3c777432cd046c3e0298869a9428756ab62
2012-02-29 00:20:13 -08:00