| 21 | return redirect_to_login(request.get_full_path(), login_url='signin') |
| 22 | if self.has_permission(request): |
| 23 | index_path = reverse('admin:index', current_app=self.name) |
| 24 | return redirect(index_path) |
| 25 | else: |
| 26 | return redirect('/') |
| 27 | |
| 28 | admin.site.__class__.login = login |
| 29 |
nothing calls this directly
no outgoing calls
no test coverage detected