Chainable shortcut for the override-aware queryset annotations, delegating to the canonical helper in ``apps.channels.managers`` so the function form (``with_effective_values(qs)``) and the manager form (``Channel.objects.with_effective_values()``) are both v
(self, select_related_fks=False)
| 282 | return self.all() |
| 283 | |
| 284 | def with_effective_values(self, select_related_fks=False): |
| 285 | """ |
| 286 | Chainable shortcut for the override-aware queryset annotations, |
| 287 | delegating to the canonical helper in ``apps.channels.managers`` |
| 288 | so the function form (``with_effective_values(qs)``) and the |
| 289 | manager form (``Channel.objects.with_effective_values()``) are |
| 290 | both valid entry points and stay in sync. |
| 291 | """ |
| 292 | from apps.channels.managers import with_effective_values |
| 293 | |
| 294 | return with_effective_values( |
| 295 | self.get_queryset(), select_related_fks=select_related_fks |
| 296 | ) |
| 297 | |
| 298 | |
| 299 | class Channel(models.Model): |