Skip to content

Commit

Permalink
cleanup and switch docs url to about
Browse files Browse the repository at this point in the history
  • Loading branch information
mradamcox committed Nov 4, 2022
1 parent 6f3bd3c commit 9f194e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
2 changes: 1 addition & 1 deletion cspkarst/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
  |  
<a id="open-layers-panel" href="javascript:void(0)">layers</a>
&nbsp;&nbsp;|&nbsp;&nbsp;
<a href="/docs">about</a>
<a href="/about">about</a>
</p>
</div>
</div>
Expand Down
17 changes: 1 addition & 16 deletions karstography/urls.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)

0 comments on commit 9f194e5

Please sign in to comment.