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
57eafe0b
authored
2022-05-13 17:45:49 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
admin test3
1 parent
52dad1f9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/apps/myadmin/admin.py
src/apps/myadmin/admin.py
View file @
57eafe0
...
...
@@ -27,7 +27,7 @@ class MyAdminSite(admin.AdminSite):
index_path
=
reverse
(
'admin:index'
,
current_app
=
self
.
name
)
return
HttpResponseRedirect
(
index_path
)
# return HttpResponseRedirect(iwa_admin_url)
return
HttpResponseRedirect
(
'https://staging-bmw-ocr.situdata.com/login?state=admin'
)
return
HttpResponseRedirect
(
'https://staging-bmw-ocr.situdata.com/login?state=admin
&code=xxx
'
)
admin_site
=
MyAdminSite
()
...
...
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