horizon/openstack_dashboard/dashboards/project/stacks
Radomir Dopieralski b7537a8b81 Use memoized_method decorator in views
A lot of horizon's views use the pattern:

    def get_data(self):
        if not hasattr(self, "_data"):
            # Calculate data here.
            self._data = data
        return self._data

This is copy-pasted all over the codebase. It's better to handle that
with a single decorator. In the future, we might even replace it with
some better caching approach.

Closes-bug: #1248230
Change-Id: Id021fccf9032e5068993ec91a7774a5d0fbf29bb
2013-12-18 16:46:30 +01:00
..
templates/stacks Rename heat logical_resource_id to resource_name 2013-08-27 14:13:56 +12:00
__init__.py Implementation of a Heat stacks UI. 2013-07-03 03:48:31 -07:00
api.py Gate on H102 Apache 2.0 license header not found for pep8 2013-11-19 13:55:04 -05:00
forms.py Merge "Heat Stack name is missing form validation." 2013-11-26 14:49:53 +00:00
mappings.py Gate on H4xx docstrings for pep8 2013-11-23 12:51:07 -05:00
panel.py Enable H302 check 2013-08-22 17:39:09 +04:00
sro.py Gate on H102 Apache 2.0 license header not found for pep8 2013-11-19 13:55:04 -05:00
tables.py Allow translators to control word order of BatchAction message 2013-12-10 23:00:10 +09:00
tabs.py Enable H302 check 2013-08-22 17:39:09 +04:00
tests.py Heat Stack name is missing form validation. 2013-11-24 20:04:13 -05:00
urls.py Fix django.conf.urls.defaults imports 2013-11-04 17:10:57 +11:00
views.py Use memoized_method decorator in views 2013-12-18 16:46:30 +01:00