From a32448ec032d8a5d08f185e686765acbca00e058 Mon Sep 17 00:00:00 2001 From: Sanj Date: Fri, 28 Oct 2011 14:35:06 +0100 Subject: [PATCH] added contact --- mofca/organic/views.py | 3 +++ mofca/templates/contact.html | 1 + mofca/urls.py | 1 + 3 files changed, 5 insertions(+) create mode 100644 mofca/templates/contact.html diff --git a/mofca/organic/views.py b/mofca/organic/views.py index e9f5d1c..7881a63 100644 --- a/mofca/organic/views.py +++ b/mofca/organic/views.py @@ -18,3 +18,6 @@ def meet_farmers(request): def about(request): return render_to_response("about.html") + +def contact(request): + return render_to_response("contact.html") diff --git a/mofca/templates/contact.html b/mofca/templates/contact.html new file mode 100644 index 0000000..21f5da2 --- /dev/null +++ b/mofca/templates/contact.html @@ -0,0 +1 @@ +{% extends 'base.html' %} diff --git a/mofca/urls.py b/mofca/urls.py index 1eabbc0..769ba2d 100644 --- a/mofca/urls.py +++ b/mofca/urls.py @@ -17,6 +17,7 @@ urlpatterns = patterns('', (r'^meet-farmers/$', 'organic.views.meet_farmers'), (r'^recipes/$', 'recipes.views.index'), (r'^about/$', 'organic.views.about'), + (r'^contact/$', 'organic.views.contact'), # (r'^events/$', 'organic.views.events'), # (r'^resources/$', 'organic.views.resources'), # Uncomment the admin/doc line below to enable admin documentation: