Skip to content

Commit

Permalink
#805 Use the new catalog classes arch (#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
duker33 authored Apr 7, 2019
1 parent 06ecddd commit 7d07721
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ sorl-thumbnail==12.5.0
python-telegram-bot==11.1.0
sentry-sdk==0.7.2
https://github.com/selwin/django-user_agents/archive/master.zip
https://github.com/fidals/refarm-site/archive/0.5.4.zip
https://github.com/fidals/refarm-site/archive/0.5.6.zip
6 changes: 5 additions & 1 deletion shopelectro/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ def get_absolute_url(self):
return reverse('category', args=(self.page.slug,))


class Product(catalog_models.AbstractProduct, pages_models.SyncPageMixin):
class Product(
catalog_models.AbstractProduct,
catalog_models.AbstractPosition,
pages_models.SyncPageMixin
):

# That's why we are needed to explicitly add objects manager here
# because of Django special managers behaviour.
Expand Down

0 comments on commit 7d07721

Please sign in to comment.