I've done that with an extension of product model and overriding its save
method.
In that way, everytime I change something in admin it updates the
last_modified, but when something change quantity or save only the product
model it doesn't touch the extension and last_modified.

I think it's useful to put a lastmod in  sitemap.xml and let google choice
the latest updated pages instead of trying everything. This should increase
the speed google tracks the changes (and I've used ping_google() also).

2010/8/18 lzantal <[email protected]>

> Hi Stuart,
>
> Hmm, debug toolbar did not show that signal.
> Good catch. fun to learn more about django every time:)
>
> lzantal
>
>
> On Aug 18, 12:02 pm, Stuart Laughlin <[email protected]> wrote:
> > On Wed, Aug 18, 2010 at 1:57 PM, lzantal <[email protected]> wrote:
> >
> > > I can't seem to find any signal that you could use.
> >
> > There's actually a standard django signal for that called post_save.
> >
> > http://docs.djangoproject.com/en/1.1/ref/signals/#post-save
> >
> > > The simplest solution would be to extend ProductOption admin class and
> > > override save_model method.
> > > This can be done without touching satchmo core.
> >
> > Yes, that should work, too.
> >
> > --Stuart
>
> --
> You received this message because you are subscribed to the Google Groups
> "Satchmo users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<satchmo-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
>


-- 
Alessandro Ronchi
http://www.soasi.com

Hobby & Giochi
http://hobbygiochi.com
http://www.facebook.com/hobbygiochi

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to