horizon/openstack_dashboard/dashboards/admin
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
..
defaults Fix translatable string for "Injected File Path Bytes" 2013-11-22 14:29:23 +00:00
domains Role name should not be translated in Domain Groups dialog 2013-12-02 08:29:54 +00:00
flavors Hide key field in edit Flavor Extra Specs dialog 2013-12-06 13:11:14 -08:00
groups Use memoized_method decorator in views 2013-12-18 16:46:30 +01:00
hypervisors Merge "added tab showing all servers assigned to a hypervisor" 2013-12-16 09:02:07 +00:00
images Add UpdateRow method and status_columns to AdminImagesTable 2013-12-11 09:14:10 +00:00
info Gate on H102 Apache 2.0 license header not found for pep8 2013-11-19 13:55:04 -05:00
instances Use memoized_method decorator in views 2013-12-18 16:46:30 +01:00
metering Abstraction of Ceilometer meters information 2013-11-28 12:40:05 +01:00
networks Use memoized_method decorator in views 2013-12-18 16:46:30 +01:00
overview Adds Cinder client mock to tests 2013-12-09 20:41:37 -08:00
projects Use memoized_method decorator in views 2013-12-18 16:46:30 +01:00
roles Use memoized_method decorator in views 2013-12-18 16:46:30 +01:00
routers Fix django.conf.urls.defaults imports 2013-11-04 17:10:57 +11:00
users Use memoized_method decorator in views 2013-12-18 16:46:30 +01:00
volumes Gate on H4xx docstrings for pep8 2013-11-23 12:51:07 -05:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
dashboard.py Add metering panel to admin console 2013-09-03 10:20:23 +10:00
models.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00