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

2014-03-03 Thread Eduardo Rivas
Excellent! I think that's what Steve meant from the beginning. Regarding the sitemap, I was overriding Mezzanine's sitemap and returning a Product-free list, but signals seem like the right way to go here. Thanks a lot. -- You received this message because you are subscribed to the Google Grou

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

2014-03-03 Thread Josh Cartmell
Hey Ed, you can also do something like http://stackoverflow.com/a/5771286/593283, I'm not sure if that would be a workable solution for you. If you wanted to hide products across the board you could connect to the product pre save signal and uncheck the box programatically. On Mon, Mar 3, 2014 a

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

2014-03-03 Thread Eduardo Rivas
I investigated a little and apparently the login decorator is for views, not url patterns. I ended up using this little middlewarethat lets me conveniently define a list of url patterns for which login is required. Related question: is it possible to hi

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

2014-01-21 Thread Eduardo Rivas
Ok, thanks. I'll give it a shot and report back. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more option