Source

Herbisport / run / urls.py

Full commit
from django.conf.urls.defaults import *
from django.contrib import admin
from sitemaps.views import sitemaps
admin.autodiscover()

#added for feeds
from article.feeds import LatestBlogPosts

feeds = {
	'latest' : LatestBlogPosts,
}

urlpatterns = patterns('',
    url(r'^crossdomain.xml$','flashpolicies.views.simple', {'domains': ['*']}),                   
    (r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': 'http://img1.happyherbivore.com/favicon.ico'}),
    (r'^media/(?P<path>.*)$', 'django.views.static.serve',
			{'document_root': '/Users/scott/projects/happy/media'}),
    (r'^tinymce/', include('tinymce.urls')),
    (r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}),
    url(r'^feed/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}, name='feeds_view'),
    (r'^admin/', include(admin.site.urls)),
    (r'^contact/', include('contact.urls')),
    (r'^recipe/(?P<recipe_slug>[-\w]+)/$', 'article.views.recipe_detail'),
    (r'^recipes/$', 'article.views.recipe_index'),
    (r'^faq/$', 'article.views.faq_index'),
    (r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<post_slug>[-\w]+)/$', 'article.views.post_detail'),
    (r'^blog/', 'article.views.post_index'),
    (r'^video/', 'article.views.video_index'),
    (r'^$', 'article.views.main_index'),
    (r'', include('article.urls')),
    (r'', include('django.contrib.flatpages.urls')),
)