diff options
author | 2019-04-08 14:05:50 +0100 | |
---|---|---|
committer | 2019-04-08 14:05:50 +0100 | |
commit | 4dc58e6e14702989f7419d6bfc4ca589898f2e56 (patch) | |
tree | 40157a59a1680a29399afb1ac97f6727daddd4b4 /pydis_site/apps/home | |
parent | First attempt at getting the wiki up (diff) |
Remove wiki host, use /wiki - Also some wiki config
I've included the monokai pygments theme, but we can change it later
Diffstat (limited to 'pydis_site/apps/home')
-rw-r--r-- | pydis_site/apps/home/urls.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pydis_site/apps/home/urls.py b/pydis_site/apps/home/urls.py index a01e019e..ede0531e 100644 --- a/pydis_site/apps/home/urls.py +++ b/pydis_site/apps/home/urls.py @@ -1,10 +1,11 @@ from django.contrib import admin -from django.urls import path +from django.urls import path, include from django.views.generic import TemplateView app_name = 'home' urlpatterns = [ - path('', TemplateView.as_view(template_name='home/index.html'), name='index'), - path('admin/', admin.site.urls) + path('admin/', admin.site.urls), + path('wiki/', include('wiki.urls')), + path('/', TemplateView.as_view(template_name='home/index.html'), name='index'), ] |