oacpl/charter_members/views.py

9 lines
211 B
Python
Raw Normal View History

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