SEESenv/web/hgbook/urls.py
changeset 7 e9bf8b47a809
parent 2 52d12eb31c30
child 8 d7db9561766e
equal deleted inserted replaced
6:1ce9b33fb6ff 7:e9bf8b47a809
    12 urlpatterns = patterns('',
    12 urlpatterns = patterns('',
    13     (r'^comments/', include('hgbook.comments.urls')),
    13     (r'^comments/', include('hgbook.comments.urls')),
    14 
    14 
    15     (r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed',
    15     (r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed',
    16      {'feed_dict': feeds}),          
    16      {'feed_dict': feeds}),          
    17     (r'^$', 'hgbook.comments.views.index'), 
    17     (r'^index$', 'hgbook.comments.views.index'), 
    18 
    18 
    19     (r'^search/', 'hgbook.comments.views.search'), 
    19     (r'^search/', 'hgbook.comments.views.search'), 
    20 
    20 
    21     # Only uncomment this for local testing without Apache.
    21     # Only uncomment this for local testing without Apache.
    22      (r'^html/(?P<path>.*)$', 'django.views.static.serve',
    22      (r'^html/(?P<path>.*)$', 'django.views.static.serve',