You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

models.py 440B

12345678910111213141516171819202122232425
  1. import django
  2. from oscar.apps.analytics.abstract_models import (
  3. AbstractProductRecord, AbstractUserRecord,
  4. AbstractUserProductView, AbstractUserSearch)
  5. class ProductRecord(AbstractProductRecord):
  6. pass
  7. class UserRecord(AbstractUserRecord):
  8. pass
  9. class UserProductView(AbstractUserProductView):
  10. pass
  11. class UserSearch(AbstractUserSearch):
  12. pass
  13. if django.VERSION < (1, 7):
  14. from . import receivers # noqa