mail 拆分模块

This commit is contained in:
virusdefender
2015-12-07 19:14:43 +08:00
parent 3996647f68
commit 3dd19cf654
6 changed files with 21 additions and 24 deletions

View File

@@ -14,7 +14,7 @@ from rest_framework.response import Response
from utils.shortcuts import (serializer_invalid_response, error_response,
success_response, error_page, paginate, rand_str)
from utils.captcha import Captcha
from mail.tasks import send_email
from utils.mail import send_email
from .decorators import login_required
from .models import User, UserProfile