diff options
author | luxagraf <sng@luxagraf.net> | 2018-02-02 17:18:59 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-02-02 17:18:59 -0600 |
commit | 336af6487fc36bdf185f87bff10b6a309137ddb0 (patch) | |
tree | 09a47c6a5065afcf53bd9aa115012847bc8610c8 | |
parent | 3222a2d413d1ab141134bee04d17069668f7ac12 (diff) |
moar bugs
-rw-r--r-- | app/sketches/views.py | 4 | ||||
-rw-r--r-- | config/base_urls.py | 1 |
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')), |