1 from django.conf.urls.defaults import *
2 from django.views.generic.simple import direct_to_template
3 from django.views.static import serve
4 from django.conf import settings
6 # Uncomment the next two lines to enable the admin:
7 from django.contrib import admin
10 urlpatterns = patterns('',
12 # (r'^recipes/', include('recipes.urls')),
13 (r'^$', direct_to_template, {"template": 'main_index.html'},),
14 (r'^media/(?P<path>.*)$', serve, {'document_root': settings.MEDIA_ROOT, 'show_indexes': False}),
15 (r'^admin/(.*)', admin.site.root),