Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rf#168 Prepare context module for moving to refarm #573

Merged
merged 10 commits into from
Sep 16, 2018
Prev Previous commit
rf#168 Apply linter rules
  • Loading branch information
duker33 committed Sep 16, 2018
commit e60ffbe9af29a4c76334bd3b46eaf70399dfe0e5
1 change: 0 additions & 1 deletion shopelectro/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ def __init__( # Ignore PyDocStyleBear
self.products_ = products
self.product_pages_ = product_pages


@property
def product_pages(self) -> QuerySet:
return self.product_pages_ or self.super.product_pages
Expand Down
1 change: 1 addition & 0 deletions shopelectro/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ class Tag(caTag):
TagGroup, on_delete=models.CASCADE, null=True, related_name='tags',
)


class ExcludedModelTPageManager(PageManager):

def get_queryset(self):
Expand Down