First draft of rolling stock page

This commit is contained in:
2022-04-10 23:42:29 +02:00
parent 8a87f6059e
commit 42e30b0009
7 changed files with 280 additions and 99 deletions

View File

@@ -24,3 +24,12 @@ class GetHome(View):
'rolling_stock': rolling_stock,
'thumbnails': thumbnails
})
class GetRollingStock(View):
def get(self, request, uuid):
rolling_stock = RollingStock.objects.get(uuid=uuid)
return render(request, 'page.html', {
'rolling_stock': rolling_stock,
})