aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/main/urls.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-04-18 23:38:31 +0200
committerGravatar Leon Sandøy <[email protected]>2019-04-18 23:38:31 +0200
commit52d178d7e469fad802bf4dec06453d1764a08787 (patch)
treea4ee0d736c8252763699e6a40a18b0312d6017f1 /pydis_site/apps/main/urls.py
parentFixing all linting problems introduced by this PR. There's still a TODO left ... (diff)
Addressing all of volcyys review comments, and adding linting and full test coverage.
Diffstat (limited to 'pydis_site/apps/main/urls.py')
-rw-r--r--pydis_site/apps/main/urls.py6
1 files changed, 3 insertions, 3 deletions
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)
]