MCPcopy Create free account
hub / github.com/developerfromjokela/opencarwings / LocationInfoAdmin

Class LocationInfoAdmin

db/admin.py:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
28admin.site.__class__.login = login
29

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected