This commit is contained in:
parent
1de1cb4086
commit
72ae2320d1
8 changed files with 34 additions and 6 deletions
|
|
@ -69,3 +69,10 @@ class IndexView(LoginRequiredMixin, ListView):
|
|||
context["superusers"] = superusers
|
||||
|
||||
return context
|
||||
|
||||
|
||||
def oauth_context(request):
|
||||
return {
|
||||
"OAUTH_BUTTON_TEXT": getattr(settings, "OAUTH_BUTTON_TEXT", ""),
|
||||
"OAUTH_BUTTON_IMAGE": getattr(settings, "OAUTH_BUTTON_IMAGE", ""),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue