Commit Graph

6 Commits

Author SHA1 Message Date
YuehuiLei 87f498bee5 Drop the usage of unicode prefix from unicode strings
All strings are considered as unicode strings in python 3,
so we no longer need "u" prefix (u'...').

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I796d2fcdca066475bbf29d25cbf2aa67b2b2178b
2021-02-12 13:05:27 -06:00
manchandavishal a85687cb7e Add Validation msg in Create Extra Spec Form under Volume Type Panel
This patch add a validation message when a user try to 'Create'
a extra spec with an existing key name under Volume Type panel.

Change-Id: I6a1eac269e616ba0861a41eda5eac1b1a4cdd1d0
Closes-Bug: #1818826
2019-03-19 12:44:47 +00:00
Akihiro Motoki 4928df71ae Convert admin volume_types tests into mock
admin/volume_types/extras/tests.py
admin/volume_types/qos_specs/tests.py
admin/volume_types/tests.py

blueprint mock-framework-in-unit-tests
Change-Id: Ia05bb23732e34583abc23a94f2c88ace250e5697
2018-03-05 06:32:27 +09:00
Akihiro Motoki e477eafa45 django2: Replace django.core.urlresolves with django.urls
(In Django 2.0) The django.core.urlresolvers module is removed
in favor of its new location, django.urls.
It was depreacted in Django 1.10:
https://docs.djangoproject.com/en/2.0/releases/1.10/#id3

blueprint django2-support
Change-Id: I46ab5c325491274b8eaffbf848e5d80f83c2fd26
2018-02-17 01:36:48 +09:00
Akihiro Motoki baa4ca8dce hacking: noqa cleanup in openstack_dashboard
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 only 3 noqa under openstack_dashboard/ :)

Change-Id: I4a449802f5dbd6e44e4b8b5c378a555d47d9a99f
2017-03-17 19:38:47 +00:00
Richard Jones a22bba4af9 Move Volume Types out of tabbed panel
Change-Id: Ie8ddc78a6638e02b673582b081a67f05ec0a2a0a
Implements: blueprint reorganise-volumes
2017-03-09 14:30:56 +11:00