Sync contact form and contact address with setting
This commit is contained in:
parent
7c91907e6e
commit
5f60563fe0
@ -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>
|
||||||
|
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user