1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +00:00

Fix circular import bug

This commit is contained in:
xiez
2012-08-09 00:06:04 +08:00
parent 074e781831
commit cc040bc09f
2 changed files with 3 additions and 4 deletions

View File

@@ -11,7 +11,6 @@ from auth.models import get_hexdigest, check_password
from auth import authenticate, login
from registration import signals
#from registration.forms import RegistrationForm
from registration.models import RegistrationProfile
from seaserv import ccnet_threaded_rpc
class UserManager(object):
@@ -206,7 +205,7 @@ class RegistrationBackend(object):
else:
site = RequestSite(request)
from registration.models import RegistrationProfile
if settings.ACTIVATE_AFTER_REGISTRATION == True:
# since user will be activated after registration,
# so we will not use email sending, just create acitvated user