Perhaps if you share your code, we could spot if something is amiss.

On Wed, Dec 16, 2009 at 12:32 PM, Joseph Wayodi <[email protected]> wrote:

> Hi people,
>
> First of all, let me say that I'm new to Django and Satchmo.
>
> I'm trying to listen to the signals_ahoy.signals.collect_urls signal, as
> sent by products.url, but I've hit a big road block.
>
> I've put my signal-registration code in my app's models.py, and my app is
> the last one in the INSTALLED_APPS setting.
>
> I've done a bit of testing, and it appears that by the time I register my
> listener function to receive the signal, it has already been sent, and I'm
> therefore too late. It also appears that products.urls (from where the
> signal is sent) is loaded in parallel with my app's models.py. I've tried
> writing to standard output from different places in my models.py, and it
> appears that I can catch the signal by going towards the top of the file.
>
> Am I wrong about how Satchmo and signals work?
>
> I'm trying to use that signal to add a URL to /$SHOP_BASE/$PRODUCT_SLUG/
> without hard coding it too much. Is the signal meant for such stuff in the
> first place? Or should I try something else?
>
> Regards,
>
> Joseph Wayodi.
>
>  --
> 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.
>

--

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