equal
deleted
inserted
replaced
6 admin.autodiscover() |
6 admin.autodiscover() |
7 |
7 |
8 feeds = { |
8 feeds = { |
9 'comments': feeds.Comments, |
9 'comments': feeds.Comments, |
10 } |
10 } |
11 print >> sys.stderr,"in urls.py"+os.path.dirname(sys.modules[__name__].__file__) |
11 |
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}), |