oacpl/charter_members/views.py

9 lines
203 B
Python
Raw Normal View History

2017-08-17 13:20:57 -04:00
from django.shortcuts import render
from .models import Attorney
2017-09-03 15:59:37 -04:00
def index(request, id):
attorney = Attorney.objects.get(id=id)
2017-08-17 13:20:57 -04:00
return render(request, 'attorney.html', {'attorney': attorney})