You need to fork the whole app, including models etc, in order to override the views.
Please follow these steps in the documentation to fork an app - http://django-oscar.readthedocs.io/en/releases-1.5/topics/fork_app.html . Note specifically the bit about referencing Oscar's models. There is a management command that will do this for you. On Tuesday, 30 January 2018 13:02:04 UTC+3, Max wrote: > > Hi. I try to replace oscar.apps.customer.views So i created a new app and > then also create views.py. Created own AccountAuthView, because oscar does > not support some signals...Added to settings.py + > get_core_apps('myapp.customer')... Error! Because oscar can not load > abstract model. > > LookupError: App 'customer' doesn't have a 'ProductAlert' model. > > Also i tried to do full copy views.py to my app .. but it does not work... > There is 2nd method is rewrite urls with custom views, but im really want > to know why that method is not work, > -- https://github.com/tangentlabs/django-oscar http://django-oscar.readthedocs.org/en/latest/ https://twitter.com/django_oscar --- You received this message because you are subscribed to the Google Groups "django-oscar" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/django-oscar. To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/6dc3e272-4bde-403c-8aa1-633ba3c30c55%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.