# HG changeset patch # User Madhusudan.C.S # Date 1295368160 -19800 # Node ID 87f03c28f5def5d38a85c15e98ef0e3e478c4bb6 # Parent e5f8ea40369ccdb5fb141942b90088479c900da3 import the signal connector module for profile creation in the models file since it is loaded when django starts the server. diff -r e5f8ea40369c -r 87f03c28f5de pytask/profile/models.py --- a/pytask/profile/models.py Tue Jan 18 21:58:24 2011 +0530 +++ b/pytask/profile/models.py Tue Jan 18 21:59:20 2011 +0530 @@ -103,3 +103,12 @@ is_read = models.BooleanField(default = False) is_deleted = models.BooleanField(default = False) + + +# This import is not used anywhere else, but is very important to register +# the user registered signal receiver. So please don't remove it. Although +# it against style to put any imports in the end of the file, this is +# intentional so that this import may not be removed accidentally when +# cleaning up other unused imports. +# Although this import is not directly used in this f +import pytask.profile.regbackend