From 046a125989fe233801d4ec4ae37da92b13b877a4 Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Tue, 18 Jan 2011 21:59:20 +0530 Subject: import the signal connector module for profile creation in the models file since it is loaded when django starts the server. --- pytask/profile/models.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pytask/profile/models.py b/pytask/profile/models.py index 451dfc6..3741c30 100755 --- a/pytask/profile/models.py +++ b/pytask/profile/models.py @@ -103,3 +103,12 @@ class RoleRequest(models.Model): 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 -- cgit