Create some initial models

This commit is contained in:
2021-02-03 23:18:31 +00:00
parent ac81466985
commit 4281941814
15 changed files with 119 additions and 18 deletions

9
vehicles/views.py Normal file
View File

@@ -0,0 +1,9 @@
from django.shortcuts import render
from django.views.generic.list import ListView
from .models import Vehicle
class VehicleList(ListView):
template_name = 'vehicle_list.html'
model = Vehicle