On Jul 11, 12:54 pm, Ryan K <ryankas...@gmail.com> wrote:
> I am trying to avoid circular dependency issues  between signals.py
> and models.py. Is there any reason why I can't connect the post_save
> signal in signals.py itself (the function is connects with would be in
> the same file? Should I import it in the apps/__init__.py file to
> ensure the signal is installed?
>
That's what I typically do. In my __init__.py, I import signals. In
signals.py I have my signal handlers and connect calls.

Best,
BN
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to