Changeset 234:df6be40513bc for cyclope/core/collections/frontend_views.py
- Timestamp:
- 10/11/10 13:17:13 (3 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
cyclope/core/collections/frontend_views.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cyclope/core/collections/frontend_views.py
r232 r234 57 57 is_default = True 58 58 is_content_view = True 59 59 60 60 def get_response(self, request, host_template, content_object): 61 61 category = content_object … … 84 84 category = content_object 85 85 categorizations_list = category.categorizations.all() 86 87 # TODO(diegoM): ¡¡¡ No escala !!! 88 categorizations_list = sorted(categorizations_list, 89 key=lambda c: c.object_modification_date, 90 reverse=True) 91 92 86 93 paginator = Paginator(categorizations_list, self.items_per_page) 87 94 … … 128 135 verbose_name=_('simplified teaser list of Category members') 129 136 is_region_view = True 130 137 131 138 def get_response(self, request, host_template, content_object): 132 139 category = content_object … … 177 184 is_content_view = True 178 185 is_region_view = True 179 186 180 187 def get_response(self, request, host_template, content_object): 181 188 collection = content_object
Note: See TracChangeset
for help on using the changeset viewer.

