mirror of
https://github.com/github/codeql.git
synced 2025-12-23 20:26:32 +01:00
13 lines
268 B
Python
13 lines
268 B
Python
from django.urls import path
|
|
from django.http import HttpResponse
|
|
from trender import TRender
|
|
|
|
def trender(request):
|
|
template = request.GET['template']
|
|
compiled = TRender(template)
|
|
return HttpResponse(compiled)
|
|
|
|
urlpatterns = [
|
|
path('', trender)
|
|
]
|