mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
First draft of rolling stock page
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
Reference in New Issue
Block a user