summaryrefslogtreecommitdiff
path: root/website/context_processors.py
blob: acd6cdce1e39cf2c77fb5599896d6cff87347b66 (plain)
1
2
3
4
5
6
7
8
9
from website.forms import ContactForm
from django.core.urlresolvers import reverse


def contact_us_context_processor(request):
    return {
        'contact_form': ContactForm(),
        'contact_form_url': reverse("website:contact_us", args=(request.path))
    }