Created
February 1, 2020 11:28
-
-
Save taranjeet/d4e961c73359c51b89b3c3fc8c5fe473 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# logindemo/views.py | |
from django.conf import settings | |
from django.shortcuts import render | |
def render_login_page(request): | |
template_name = 'logindemo/index.html' | |
context = {} | |
context['app_id'] = settings.ACCOUNT_KIT_APP_ID | |
context['api_version'] = settings.ACCOUNT_KIT_API_VERSION | |
return render(request, template_name, context) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment