Method
_location
(self, item, force_lang_code=None)
Source from the content-addressed store, hash-verified
| 62 | return self.items() |
| 63 | |
| 64 | def _location(self, item, force_lang_code=None): |
| 65 | if self.i18n: |
| 66 | obj, lang_code = item |
| 67 | # Activate language from item-tuple or forced one before calling |
| 68 | # location. |
| 69 | with translation.override(force_lang_code or lang_code): |
| 70 | return self._get("location", item) |
| 71 | return self._get("location", item) |
| 72 | |
| 73 | @property |
| 74 | def paginator(self): |
Tested by
no test coverage detected