added contact

This commit is contained in:
Sanj 2011-10-28 14:35:06 +01:00
parent 30e09b0b4c
commit a32448ec03
3 changed files with 5 additions and 0 deletions

View File

@ -18,3 +18,6 @@ def meet_farmers(request):
def about(request): def about(request):
return render_to_response("about.html") return render_to_response("about.html")
def contact(request):
return render_to_response("contact.html")

View File

@ -0,0 +1 @@
{% extends 'base.html' %}

View File

@ -17,6 +17,7 @@ urlpatterns = patterns('',
(r'^meet-farmers/$', 'organic.views.meet_farmers'), (r'^meet-farmers/$', 'organic.views.meet_farmers'),
(r'^recipes/$', 'recipes.views.index'), (r'^recipes/$', 'recipes.views.index'),
(r'^about/$', 'organic.views.about'), (r'^about/$', 'organic.views.about'),
(r'^contact/$', 'organic.views.contact'),
# (r'^events/$', 'organic.views.events'), # (r'^events/$', 'organic.views.events'),
# (r'^resources/$', 'organic.views.resources'), # (r'^resources/$', 'organic.views.resources'),
# Uncomment the admin/doc line below to enable admin documentation: # Uncomment the admin/doc line below to enable admin documentation: