Add keyword arguments to checkouts app
Add keyword arguments to calls and view parameters. Add missing icons. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
@@ -73,7 +73,9 @@ class DocumentCheckout(models.Model):
|
||||
super(DocumentCheckout, self).delete(*args, **kwargs)
|
||||
|
||||
def get_absolute_url(self):
|
||||
return reverse('checkout:checkout_info', args=(self.document.pk,))
|
||||
return reverse(
|
||||
viewname='checkout:checkout_info', kwargs={'pk': self.document.pk}
|
||||
)
|
||||
|
||||
def natural_key(self):
|
||||
return self.document.natural_key()
|
||||
|
||||
Reference in New Issue
Block a user