mirror of
https://github.com/hequan2017/seal.git
synced 2026-04-25 03:01:10 +08:00
更改mysql 连接 驱动
更改mysql 连接 驱动
This commit is contained in:
@@ -61,6 +61,7 @@ def login_view(request):
|
||||
return render(request, 'system/login.html', {'error_msg': error_msg, })
|
||||
|
||||
|
||||
|
||||
@login_required(login_url="/system/login")
|
||||
def index(request):
|
||||
"""
|
||||
@@ -71,6 +72,8 @@ def index(request):
|
||||
return render(request, 'system/index.html')
|
||||
|
||||
|
||||
|
||||
|
||||
class UserPasswordUpdateView(LoginRequiredMixin, UpdateView):
|
||||
"""
|
||||
修改密码
|
||||
|
||||
Reference in New Issue
Block a user