diff --git a/backend/RateMyCourse/urls.py b/backend/RateMyCourse/urls.py index 8ac49dc..6dc6b61 100644 --- a/backend/RateMyCourse/urls.py +++ b/backend/RateMyCourse/urls.py @@ -16,7 +16,10 @@ 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 new file mode 100644 index 0000000..ff7e542 --- /dev/null +++ b/backend/RateMyCourse/views.py @@ -0,0 +1,5 @@ +from django.http import HttpResponse + + +def index(request): + return HttpResponse("Hello, world. You're at the index.") diff --git a/backend/db.sqlite3 b/backend/db.sqlite3 index 3e92540..dd14974 100644 Binary files a/backend/db.sqlite3 and b/backend/db.sqlite3 differ