Improved readability of python code by adding/removing newlines, identation, etc.
This commit is contained in:
parent
0aa8c7f15b
commit
626f596cd3
5 changed files with 10 additions and 21 deletions
|
@ -26,7 +26,6 @@ class CustomAdminSite(admin.AdminSite):
|
|||
|
||||
@method_decorator(never_cache)
|
||||
def index(self, request, extra_context=None):
|
||||
|
||||
return super().index(request, extra_context={
|
||||
"admin_info": Global.objects.get(name="admin_info").value_string,
|
||||
**(extra_context or {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue