oacpl/charter_members/views.py
2017-09-03 15:59:37 -04:00

9 lines
203 B
Python

from django.shortcuts import render
from .models import Attorney
def index(request, id):
attorney = Attorney.objects.get(id=id)
return render(request, 'attorney.html', {'attorney': attorney})