aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/urls.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-10-04 19:44:01 +0200
committerGravatar GitHub <[email protected]>2020-10-04 19:44:01 +0200
commitf3c2c21fa209ace469d0eb695bafa4f10a774456 (patch)
tree027e977dd01117ccaff7e18600b80d270c67e045 /pydis_site/apps/home/urls.py
parentAdd "Welcome to Python Discord" video to index (diff)
parentRemove references to django_nyt (diff)
Merge pull request #405 from python-discord/remove_django_wiki
Dewikification: Remove django-wiki from the stack
Diffstat (limited to 'pydis_site/apps/home/urls.py')
-rw-r--r--pydis_site/apps/home/urls.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/pydis_site/apps/home/urls.py b/pydis_site/apps/home/urls.py
index 61e87a39..5a58e002 100644
--- a/pydis_site/apps/home/urls.py
+++ b/pydis_site/apps/home/urls.py
@@ -1,6 +1,4 @@
from allauth.account.views import LogoutView
-from django.conf import settings
-from django.conf.urls.static import static
from django.contrib import admin
from django.contrib.messages import ERROR
from django.urls import include, path
@@ -14,8 +12,6 @@ urlpatterns = [
path('', HomeView.as_view(), name='home'),
path('', HomeView.as_view(), name='socialaccount_connections'),
- path('pages/', include('wiki.urls')),
-
path('accounts/', include('allauth.socialaccount.providers.discord.urls')),
path('accounts/', include('allauth.socialaccount.providers.github.urls')),
@@ -37,5 +33,4 @@ urlpatterns = [
path('logout', LogoutView.as_view(), name="logout"),
path('admin/', admin.site.urls),
- path('notifications/', include('django_nyt.urls')),
-] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
+]