diff options
author | Madhusudan.C.S | 2011-01-18 21:59:20 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2011-01-18 21:59:20 +0530 |
commit | 046a125989fe233801d4ec4ae37da92b13b877a4 (patch) | |
tree | 1a2a286c304c2504f537e6ae1c3f9c5273d0e3d7 | |
parent | 24b1b988ec8c98a110fe76597e45673bc686b0d0 (diff) | |
download | pytask-046a125989fe233801d4ec4ae37da92b13b877a4.tar.gz pytask-046a125989fe233801d4ec4ae37da92b13b877a4.tar.bz2 pytask-046a125989fe233801d4ec4ae37da92b13b877a4.zip |
import the signal connector module for profile creation in the models file since it is loaded when django starts the server.
-rwxr-xr-x | pytask/profile/models.py | 9 |
1 files changed, 9 insertions, 0 deletions
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 |