summaryrefslogtreecommitdiff
path: root/app/posts
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-07-24 15:19:56 -0500
committerluxagraf <sng@luxagraf.net>2023-07-24 15:19:56 -0500
commitdc7a649e783546c8e8a47bc004be3799b1b60d1a (patch)
tree9fc591eea6fcc9bfe62746bb08310510e1200fa2 /app/posts
parentd5c3fdc2be4cf7e19102218aea980ff2f52fc02b (diff)
notes: rearranged some things, added registration templates
Diffstat (limited to 'app/posts')
-rw-r--r--app/posts/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/posts/views.py b/app/posts/views.py
index 3c25483..3d01ad7 100644
--- a/app/posts/views.py
+++ b/app/posts/views.py
@@ -21,6 +21,9 @@ class PostListView(ListView):
class PostNotesView(DetailView):
model = Post
+ @method_decorator(login_required)
+ def dispatch(self, *args, **kwargs):
+ return super(PostNotesView, self).dispatch(*args, **kwargs)
'''
class UpdateViewWithUser(UpdateView):