We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b69153 commit 729fab9Copy full SHA for 729fab9
oauth_demo/introduction/views.py
@@ -1,6 +1,6 @@
1
-from django.shortcuts import render
+from django.shortcuts import render_to_response
2
from django.http import HttpResponse
3
4
# Create your views here.
5
def home(request):
6
- return HttpResponse(status=200)
+ return render_to_response("index.html")
oauth_demo/templates/index.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Home page</title>
+</head>
+<body>
7
+This is home page
8
+
9
+you wil see this page when you access "/" or when login succes.
10
+</body>
11
+</html>
12
13
0 commit comments