[mezzanine-users] Restricting shop to active users only

2014-01-21 Thread Eduardo Rivas
Hello Mezzaniners and Cartridgers (??). I have some very specific requirements for a project I'm working in. I would like to have shop categories available to all visitors of the site (they can browse all categories and see which products are included in each, just a thumbnail and short

Re: [mezzanine-users] Restricting shop to active users only

2014-01-21 Thread Stephen McDonald
I think you could just add the existing product view (and any others) to your urlpatterns, but wrapped in Django's login_required decorator - with that you'd get all the fancy redirecting to login and back to the original page. I don't think there's a strong case for including it as a setting.