diff --git a/cspkarst/templates/index.html b/cspkarst/templates/index.html index 375cfc2..fce99d2 100644 --- a/cspkarst/templates/index.html +++ b/cspkarst/templates/index.html @@ -44,7 +44,7 @@   |   layers   |   - about + about

diff --git a/karstography/urls.py b/karstography/urls.py index 93805fb..d99e353 100644 --- a/karstography/urls.py +++ b/karstography/urls.py @@ -1,18 +1,3 @@ -"""karstography URL Configuration - -The `urlpatterns` list routes URLs to views. For more information please see: - https://docs.djangoproject.com/en/1.11/topics/http/urls/ -Examples: -Function views - 1. Add an import: from my_app import views - 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') -Class-based views - 1. Add an import: from other_app.views import Home - 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home') -Including another URLconf - 1. Import the include() function: from django.conf.urls import url, include - 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) -""" from django.conf.urls import include, url from django.contrib import admin from django.conf.urls.static import static @@ -23,7 +8,7 @@ url(r'^login/$', auth_views.LoginView.as_view(), name='login'), url(r'^logout/$', auth_views.LogoutView.as_view(), name='logout'), url(r'^admin/', admin.site.urls), - url(r'^docs/', include('docs.urls')), + url(r'^about/', include('docs.urls')), url(r'', include('cspkarst.urls')), ] # + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)