summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-07-26 08:44:16 -0500
committerluxagraf <sng@luxagraf.net>2023-07-26 08:44:16 -0500
commitbbf7c09dc6efcbc7610fd79fa791f25168f72806 (patch)
tree1c8a83117c200ff7529247cc2e9f761518925abf
parent0a34300e9f3de1d16deae6e7c61786763105f188 (diff)
notes: bug fix in views
-rw-r--r--app/notes/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/notes/views.py b/app/notes/views.py
index fd6aa68..0b31bcd 100644
--- a/app/notes/views.py
+++ b/app/notes/views.py
@@ -16,7 +16,7 @@ class NoteCreateView(LoginRequiredMixin, CreateView):
kwargs.update({'user': self.request.user})
return kwargs
- def get_Success_url(self):
+ def get_success_url(self):
if 'add_new' in self.request.POST:
return reverse('notes:create')
else: