We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee88776 commit b4f9e3fCopy full SHA for b4f9e3f
gettingstarted/static/humans.txt
gettingstarted/urls.py
@@ -1,6 +1,5 @@
1
-from django.urls import path, include
2
-
3
from django.contrib import admin
+from django.urls import path
4
5
admin.autodiscover()
6
hello/tests.py
@@ -1,4 +1,4 @@
-from django.contrib.auth.models import AnonymousUser, User
+from django.contrib.auth.models import AnonymousUser
from django.test import TestCase, RequestFactory
from .views import index
hello/views.py
@@ -1,13 +1,11 @@
from django.shortcuts import render
-from django.http import HttpResponse
from .models import Greeting
# Create your views here.
7
8
9
def index(request):
10
- # return HttpResponse('Hello from Python!')
11
return render(request, "index.html")
12
13
0 commit comments