admin test3
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -27,7 +27,7 @@ class MyAdminSite(admin.AdminSite): | ... | @@ -27,7 +27,7 @@ class MyAdminSite(admin.AdminSite): |
27 | index_path = reverse('admin:index', current_app=self.name) | 27 | index_path = reverse('admin:index', current_app=self.name) |
28 | return HttpResponseRedirect(index_path) | 28 | return HttpResponseRedirect(index_path) |
29 | # return HttpResponseRedirect(iwa_admin_url) | 29 | # return HttpResponseRedirect(iwa_admin_url) |
30 | return HttpResponseRedirect('https://staging-bmw-ocr.situdata.com/login?state=admin') | 30 | return HttpResponseRedirect('https://staging-bmw-ocr.situdata.com/login?state=admin&code=xxx') |
31 | 31 | ||
32 | 32 | ||
33 | admin_site = MyAdminSite() | 33 | admin_site = MyAdminSite() | ... | ... |
-
Please register or sign in to post a comment