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 at 2:34 PM, Eduardo Rivas <jerivasmel...@gmail.com>wrote:

> I investigated a little and apparently the login decorator is for views,
> not url patterns. I ended up using this little 
> middleware<https://gist.github.com/jerivas/9335869>that lets me conveniently 
> define a list of url patterns for which login is
> required.
>
> Related question: is it possible to hide products from the sitemap without
> needing to manually uncheck the "Show in sitemap" box in every existing and
> new product?
>
> --
> 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 options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 options, visit https://groups.google.com/groups/opt_out.

Reply via email to