Sync contact form and contact address with setting

This commit is contained in:
Zakary Timson 2017-10-23 23:59:31 -04:00
parent 7c91907e6e
commit 5f60563fe0
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@
<br> <br>
Email Care of David A. Sandor, Barrister & Solicitor, Acting Director: Email Care of David A. Sandor, Barrister & Solicitor, Acting Director:
<br> <br>
david.a.sandor@outlook.com {{ contact }}
<br> <br>
<br> <br>
<br> <br>

View File

@ -14,7 +14,7 @@ from OACPL import settings
def index(request): def index(request):
attorneys = Attorney.objects.filter(front_page=True) attorneys = Attorney.objects.filter(front_page=True)
return render(request, 'index.html', {'attorneys': attorneys}) return render(request, 'index.html', {'attorneys': attorneys, 'contact': settings.EMAIL_CONTACT})
def contact(request): def contact(request):