Redirect to the same chart when queuing a chat for update.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-23 03:36:02 -04:00
parent c760dd883d
commit 12cfdafecf
2 changed files with 4 additions and 2 deletions

View File

@@ -103,6 +103,8 @@
- In addition to the document view permission, the checkout detail - In addition to the document view permission, the checkout detail
view permission is now needed to view the list of checked out view permission is now needed to view the list of checked out
document. document.
- After queuing a chart for update, the view will now redirect
to the same chart.
3.0.3 (2018-08-17) 3.0.3 (2018-08-17)
================== ==================

View File

@@ -87,8 +87,8 @@ class StatisticQueueView(ConfirmView):
def get_post_action_redirect(self): def get_post_action_redirect(self):
return reverse( return reverse(
'statistics:namespace_details', 'statistics:statistic_detail',
args=(self.get_object().namespace.slug,) args=(self.get_object().slug,)
) )
def view_action(self): def view_action(self):