Reverse URL bug fix

This commit is contained in:
Oliver Walters 2020-04-28 09:35:24 +10:00
parent b913971008
commit bbecc8c900

View File

@ -234,7 +234,7 @@ class PurchaseOrderNotes(UpdateView):
def get_success_url(self): def get_success_url(self):
return reverse('purchase-order-notes', kwargs={'pk': self.get_object().id}) return reverse('po-notes', kwargs={'pk': self.get_object().id})
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):