summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/sketches/views.py4
-rw-r--r--config/base_urls.py1
2 files changed, 3 insertions, 2 deletions
diff --git a/app/sketches/views.py b/app/sketches/views.py
index b2ae3d7..d6d548b 100644
--- a/app/sketches/views.py
+++ b/app/sketches/views.py
@@ -6,7 +6,7 @@ from utils.views import PaginatedListView
from .models import Sketch
-class SketchList(PaginatedListView):
+class SketchListView(PaginatedListView):
"""
Return a list of Notes in reverse chronological order
"""
@@ -20,7 +20,7 @@ class SketchDetailView(DetailView):
slug_field = "slug"
-class NoteDetailViewTXT(SketchDetailView):
+class SketchDetailViewTXT(SketchDetailView):
template_name = "details/entry.txt"
diff --git a/config/base_urls.py b/config/base_urls.py
index d709f8c..341d3bb 100644
--- a/config/base_urls.py
+++ b/config/base_urls.py
@@ -47,6 +47,7 @@ urlpatterns = [
path(r'field-notes/', include('notes.urls')),
path(r'birds/', include('birds.urls', namespace='birds')),
path(r'sightings/', include('sightings.urls', namespace='sightings')),
+ path(r'sketches/', include('sketches.urls', namespace='sketches')),
path(r'src/', include('src.urls', namespace='src')),
path(r'figments/', include('figments.urls', namespace='figments')),
path(r'resume/', include('resume.urls', namespace='resume')),