mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-18 15:57:44 +02:00
8 lines
284 B
Python
8 lines
284 B
Python
from django.shortcuts import render
|
|
from .models import EngineType
|
|
|
|
def index(request):
|
|
engine_type = EngineType.objects.all().order_by('id')
|
|
context = {'scan_engine_nav_active': 'true', 'engine_type': engine_type}
|
|
return render(request, 'scanEngine/index.html', context)
|