From 52d178d7e469fad802bf4dec06453d1764a08787 Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Thu, 18 Apr 2019 23:38:31 +0200 Subject: Addressing all of volcyys review comments, and adding linting and full test coverage. --- pydis_site/apps/main/urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pydis_site/apps/main/urls.py') diff --git a/pydis_site/apps/main/urls.py b/pydis_site/apps/main/urls.py index 11142040..edef9873 100644 --- a/pydis_site/apps/main/urls.py +++ b/pydis_site/apps/main/urls.py @@ -1,11 +1,11 @@ from django.contrib import admin from django.urls import path -from .views import Home +from .views import HomeView -app_name = 'home' +app_name = 'main' urlpatterns = [ - path('', Home.as_view(), name='home.index'), + path('', HomeView.as_view(), name='home'), path('admin/', admin.site.urls) ] -- cgit v1.2.3