diff -r 672eaaab9204 -r 52d12eb31c30 web/hgbook/urls.py~ --- a/web/hgbook/urls.py~ Fri Feb 05 23:42:24 2010 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -import os, sys -from django.conf.urls.defaults import * -import hgbook.comments.feeds as feeds -from django.contrib import admin - -admin.autodiscover() - -feeds = { - 'comments': feeds.Comments, - } - -urlpatterns = patterns('', - (r'^comments/', include('hgbook.comments.urls')), - - (r'^feeds/(?P.*)/$', 'django.contrib.syndication.views.feed', - {'feed_dict': feeds}), - (r'^/$', 'hgbook.comments.views.index'), - - (r'^search/', 'hgbook.comments.views.search'), - - # Only uncomment this for local testing without Apache. - (r'^html/(?P.*)$', 'django.views.static.serve', - {'document_root': os.path.realpath(os.path.dirname( - sys.modules[__name__].__file__) + '/../html/')}), - (r'^support/(?P.*)$', 'django.views.static.serve', - {'document_root': os.path.realpath(os.path.dirname( - sys.modules[__name__].__file__) + '/../support/')}), - - # Uncomment this for admin: - (r'^admin/(.*)', admin.site.root), -)