Update commodity and transaction details and list

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-03-26 15:18:41 -04:00
parent c320f81181
commit cf2b4ab06d
9 changed files with 211 additions and 31 deletions

View File

@@ -69,12 +69,11 @@ urlpatterns = [
path("u/profile/<int:pk>/", UserProfileView.as_view(), name="user_profile"),
# t/ for tx
path("t/detail/<str:pk>/", TxRequestDetailView.as_view(), name="tx_detail"),
path("t/<str:pk>/", TxRequestDetailView.as_view(), name="tx_detail"),
path("t/", TxRequestListView.as_view(), name="tx_list"),
# c/ for commodities
path("c/create/", CommodityCreateView.as_view(), name="commodity_create"),
#path("c/list/", CommodityListView.as_view(), name="commodity_list"),
path("c/detail/<str:pk>/", CommodityDetailView.as_view(), name="commodity_detail"),
path("c/", CommodityListView.as_view(), name="commodity_list"),
path("c/<str:pk>/", CommodityDetailView.as_view(), name="commodity_detail"),
]