Source

trustlink / example_site / views.py

1
2
3
4
5
6
7
8
from django.shortcuts import render

def home(request):
    return render(request, 'home.html')


def page(request, name):
    return render(request, 'page.html', {'name': name})