Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5622f682
authored
2022-05-13 17:51:53 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
admin test5
1 parent
d70dbe66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/apps/account/views.py
src/apps/account/views.py
View file @
5622f68
...
...
@@ -72,6 +72,7 @@ class IWALoginView(IWABaseView, GenericView):
auth_login
(
request
,
data
)
# index_path = reverse('admin:index')
# return HttpResponseRedirect(index_path)
self
.
running_log
.
info
(
'url: {0}'
.
format
(
settings
.
LOGIN_REDIRECT_URL
))
return
HttpResponseRedirect
(
resolve_url
(
settings
.
LOGIN_REDIRECT_URL
))
else
:
self
.
no_permission
(
data
)
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment