12 Commits

Author SHA1 Message Date
Takashi Kajinami
09d63aefbc Replace deprecated ugettext_lazy and ungettext_lazy
The ugettext_lazy method and the ungettext_lazy method are both
deprecated since Django 3.0[1].

These were already replaced in Horizon repo by [2].

[1] https://docs.djangoproject.com/en/3.0/releases/3.0/#id3
[2] cd7c1b5110fe1f64cd9dfbeb1072b37912d0efee

Change-Id: I6697e4c006e7b8ec94a08ad4625a1980582b4d6d
2022-07-11 02:47:44 +00:00
manchandavishal
0af8c03faf Cleanup for Refactor-error-messages
This patch is a clean-up patch for refactor-error-messages bp
which remove the exception message from base message otherwise
the same exception message display twice like
this https://ibb.co/XyFWMdz .

Change-Id: Ib56b35b164057b821b5e9755202b87c9e1ea5572
2020-08-26 12:22:42 +00:00
Andreas Jaeger
e6f423604a Remove six usage
This repo does not support Python 2 anymore, so we don't need
six for compatibility between Python2 and 3, convert six usage to Python
3 code.

Change-Id: Id84564d8350fb793a2511abae218db17ea122873
Needed-By: https://review.opendev.org/701743
2020-01-11 16:42:13 +01:00
pengyuesheng
809416b7b5 Refactor error messages
This patch refactors error messages and
shows the detailed error message

Change-Id: I4d7fc03c9368bf20cd374097ff210e1ecb952d23
2019-09-06 07:21:32 +00:00
pengyuesheng
3cb1ace8c7 Add asterisk mark for the required field
Change-Id: I831efdbac8f2b3216917005318bb52669be0bf5c
2019-05-08 16:42:31 +08:00
Akihiro Motoki
3ae1e8aae3 Django 2.0 support
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 deprecated in Django 1.10:
https://docs.djangoproject.com/en/2.0/releases/1.10/#id3

Add py35dj20 job to test Django 2.0 integration.

Change-Id: I6d2e38201387012ba9a02c4b0bd8377895a5919a
2018-05-15 06:14:48 +09:00
Sharat Sharma
b31320c041 Make the definition section of the wb/wf create section editable
User cannot modify wb/wf definition that is uploaded as a file
during its creation. After file is selected, the user just sees
its context but can't modify it if it is needed. So, making the
field editable.

Change-Id: I884b2dbf106f328843f81b23c838f7397c89375e
Closes-Bug: #1505601
2017-04-06 18:03:57 +05:30
Anastasia Kuznetsova
19761bfa60 Fix gate-mistral-dashboard-python34
Fixed a lot of AttributeError: 'module' object has no attribute 'nested'
and F821 undefined name 'unicode' errors.

Change-Id: I79e73e27608ec6b76fd4ccf0ee9dcaf2ddf965ed
Closes-Bug: #1544499
2016-02-16 11:15:59 +03:00
Zhenguo Niu
8e1ddfabc4 Add update workbook support
Partially implements blueprint mistral-dashboard-crud-operations

Change-Id: I84b44a5d33718ddef6ac64dcd4fe59f2d1ee914c
2015-07-20 16:48:02 +08:00
Zhenguo Niu
9235096427 Add create workbook support
Partially implements blueprint mistral-dashboard-crud-operations

Change-Id: If6bcf09e1f3269e8b1a9ad7c7e98a692e7656682
2015-07-15 15:07:50 +08:00
Kirill Izotov
bb03d06ebe Modify to use API v2
Change-Id: Iacaab88d7ce8618aa7331e8cb7f23c69191e5f49
Implements: blueprint mistral-ui
2014-09-15 14:57:59 +07:00
Kirill Izotov
744309b2e1 Horizon plugin system compatibility
- added enabled script
- removed horizon from requirements
- updated README
- refactor folder structure

Change-Id: If3fb4eddec26c5817cb0971eb7c4fe2ebb5641f3
Implements: blueprint mistral-ui
2014-06-23 14:54:57 +07:00