1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

Translate repo history page and formate modual import

This commit is contained in:
xiez
2012-05-20 20:32:21 +08:00
parent f3d7a7dff0
commit 2d3f38397c
8 changed files with 53 additions and 41 deletions

View File

@@ -4,20 +4,15 @@ from django.utils.hashcompat import md5_constructor, sha_constructor
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from auth.models import get_hexdigest, check_password
from auth import authenticate, login
from django.contrib.sites.models import RequestSite
from django.contrib.sites.models import Site
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_rpc, get_ccnetuser
class UserManager(object):
def create_user(self, username, password=None, is_staff=False, is_active=False):
ccnet_rpc.add_emailuser(username, password, is_staff, is_active)