Dashboard views extension

46 views
Skip to first unread message

John

unread,
Aug 30, 2016, 1:51:35 PM8/30/16
to django-oscar
I need to show different dashboard to partner and staff user. With the help of index_nostaff.html I am able to create a separate html. How do I override dashboard's app IndexView to serve partner specific orders and products information?

John

unread,
Aug 31, 2016, 1:57:11 AM8/31/16
to django-oscar
Hi,

Can someone show me an example/demo of how to override specific views in any app?

YusufSalahAdDin

unread,
Aug 31, 2016, 8:06:24 PM8/31/16
to django-oscar
I think that is the same when you override shipping application or override application, you extend these applications and the load it with Oscars function get_applications, or some like it.
Message has been deleted

John

unread,
Sep 1, 2016, 2:11:43 AM9/1/16
to django-oscar
Resolved. I had to fork dashboard app to make it possible. 

On Thursday, September 1, 2016 at 10:10:45 AM UTC+5:30, John wrote:
I need to override a class in views.py of dashboard app. Are you saying I need to override dashboard app to achieve this? 
Reply all
Reply to author
Forward
0 new messages