diff options
author | luxagraf <sng@luxagraf.net> | 2022-11-11 16:57:21 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2022-11-11 16:57:21 -0600 |
commit | 2db52b9aecda64220777983a5a4ce26b9eb237f6 (patch) | |
tree | 25c091d2dbb3f7312c05c53f9a4193a8e43e849b /app/budget/urls.py | |
parent | be0cc14d112afc136e54806d7105ded0a7c3f15a (diff) |
bdgt: added simple spending tracker
Diffstat (limited to 'app/budget/urls.py')
-rw-r--r-- | app/budget/urls.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/budget/urls.py b/app/budget/urls.py new file mode 100644 index 0000000..86c56a2 --- /dev/null +++ b/app/budget/urls.py @@ -0,0 +1,24 @@ +from django.urls import path, re_path + +from . import views + +app_name = "luxbudget" + +urlpatterns = [ + path( + 'record', + views.PurchaseModelFormView.as_view(), + name='createview' + ), + path( + 'purchase/<pk>', + views.PurchaseModelFormView.as_view(), + name='detail' + ), + path( + '', + views.LuxPurchaseListView.as_view(), + {'page':1}, + name='list' + ), +] |