Add FuelPurchase model, List, Create views and templates
This commit is contained in:
parent
64576a7f09
commit
fa19b593d8
10 changed files with 242 additions and 4 deletions
|
@ -3,5 +3,6 @@ from django.urls import path
|
|||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path("", views.index, name="index"),
|
||||
path("", views.FuelPurchaseListView.as_view(), name="fuelpurchase_list"),
|
||||
path("add/", views.FuelPurchaseCreateView.as_view(), name="fuelpurchase_add"),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue