wrong list, you want django-users but yes, you are on the right track with importing from __init__, at least that's how i've always done it
-- Brendan Smith IT Specialist National Priorities Project 243 King Street Suite 109 Northampton, MA 01060 http://nationalpriorities.org/ On Wednesday, December 21, 2011 at 2:58 PM, Daniel Sokolowski wrote: > Dear Django Developers, > > Is there any consensus on where to define your signals for models and > how to import them? I ask because to me it seems very odd that there > doesn't appear to be a standard way to add your own signals and have > them auto imported by the framework. I for example create a / > project_root/project_app/signals.py file and auto import it in the > __init__ of my project app. > > I have read and searched the > https://docs.djangoproject.com/en/dev/topics/signals/ > however it fails short to provide any gudiance on this. > > How do you do it, what are your thoughts on the making the auto import > and signals.py file standard? Has this been already discussed? > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To post to this group, send email to [email protected] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]). > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django developers" 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/django-developers?hl=en.
