Ticket #17789: options.py.diff
File options.py.diff, 616 bytes (added by , 13 years ago) |
---|
-
(a) D:/Temp/options.py-revBASE.svn000.tmp.py vs. (b) E:/Program
a b 269 269 if len(parts) == 1: 270 270 return True 271 271 clean_lookup = LOOKUP_SEP.join(parts) 272 return clean_lookup in self.list_filteror clean_lookup == self.date_hierarchy272 return clean_lookup in [isinstance(f, (tuple, list)) and f[0] or f for f in self.list_filter] or clean_lookup == self.date_hierarchy 273 273 274 274 def has_add_permission(self, request): 275 275 """