InvManage.views.history_views
Module Contents
Functions
|
Retrieves the list of events on |
- InvManage.views.history_views.display_history_view(request)
Retrieves the list of events on
GET
request. Thecreate
,update
, anddelete
events are registered for each model.- GET /history/
Gets the list of all history items.
Example request:
GET /history/ HTTP/1.1 Host: localhost:8000 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 [ { "objname": { "" }, "operation": { "Created", "Updated", "Deleted" }, "objmodel": { "Company", "Vendor", "PurchaseOrder", "Product", "Consumer", "SalesOrder", "GoodsReceiptNote" }, "history-qlen": { "10" }, "date__gt": { "11/01/2020" }, "date__lt": { "09/26/2021" } } ]
Example response:
HTTP/1.1 200 OK Vary: Accept Content-Type: text/html; charset=utf-8