Hi Radovan,

thanks for your reply!

Am 29.10.2008 um 13:07 schrieb urukay:

> Benjamin, i did't have to use singnals so far, but when something is  
> needed
> in various app (models), i create new app and put it there (e.g.
> signals.py).
> And you don't have to bother with cross imports exceptions, can change
> everything in one place for each model etc.
>
>
> Radovan


I started a new app (./manage.py startapp) named 'utilities'
and put signals.py in it like this:

-project
        -__init__.py
        -settings.py
        -urls.py
        -utilities
                -__init__.py
                -signals.py

Then I added 'project.utilities' to INSTALLED_APPS in settings.py.

This way it did not work yet, I had to do what Adi proposed in an  
earlier reply:
I had to import signals.py in the app's __init__.py.

benjamin



--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to