FEAT: Make revision history for suppliers accessible

This commit is contained in:
2019-12-26 14:12:55 +00:00
parent 08600daf7c
commit 2ca6786745
5 changed files with 8 additions and 2 deletions

View File

@@ -28,6 +28,8 @@ urlpatterns = [
(views.SupplierCreate.as_view()), name='supplier_create'),
path('supplier/<int:pk>/edit', permission_required_with_403('assets.change_supplier')
(views.SupplierUpdate.as_view()), name='supplier_update'),
path('supplier/<str:pk>/history/', views.SupplierVersionHistory.as_view(),
name='supplier_history', kwargs={'model': models.Supplier}),
path('supplier/search/', views.SupplierSearch.as_view(), name='supplier_search_json'),
]