From 03ca23d5c97480c657a831e3562b6ca25f38c9e3 Mon Sep 17 00:00:00 2001 From: Koen Bolhuis Date: Wed, 26 Sep 2018 23:24:44 +0200 Subject: [PATCH] Remove index view --- backend/RateMyCourse/urls.py | 3 --- backend/RateMyCourse/views.py | 5 ----- 2 files changed, 8 deletions(-) delete mode 100644 backend/RateMyCourse/views.py diff --git a/backend/RateMyCourse/urls.py b/backend/RateMyCourse/urls.py index 6dc6b61..8ac49dc 100644 --- a/backend/RateMyCourse/urls.py +++ b/backend/RateMyCourse/urls.py @@ -16,10 +16,7 @@ Including another URLconf from django.contrib import admin from django.urls import re_path,path,include -from . import views - urlpatterns = [ - path('', views.index, name='index'), path('admin/', admin.site.urls), re_path(r'^api/postings/', include(('postings.api.urls','postings'), namespace='api-postings')), ] diff --git a/backend/RateMyCourse/views.py b/backend/RateMyCourse/views.py deleted file mode 100644 index ff7e542..0000000 --- a/backend/RateMyCourse/views.py +++ /dev/null @@ -1,5 +0,0 @@ -from django.http import HttpResponse - - -def index(request): - return HttpResponse("Hello, world. You're at the index.")