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})
|