Switch to unified view
a | b/OSSEval/entity/views.py | ||
---|---|---|---|
1 | from django.shortcuts import render |
||
2 | from django.http import HttpResponse |
||
3 | from entity.models import Entity |
||
4 | # Create your views here. |
||
5 | |||
6 | def entity_ui(request, entity_id): |
||
7 | entity = Entity.objects.get(pk=entity_id) |
||
8 | return HttpResponse(entity.search_ui) |