equal
deleted
inserted
replaced
16 admin.autodiscover() |
16 admin.autodiscover() |
17 |
17 |
18 # Blog & Admin |
18 # Blog & Admin |
19 urlpatterns = patterns( |
19 urlpatterns = patterns( |
20 '', |
20 '', |
21 url(r'', |
21 url(r'^$', |
22 direct_to_template, {"template": "home.html"}, |
22 direct_to_template, {"template": "home.html"}, |
23 name='home'), |
23 name='home'), |
24 (r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}), |
24 (r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}), |
25 (r'^comments/', include('django.contrib.comments.urls')), |
25 (r'^comments/', include('django.contrib.comments.urls')), |
26 (r'^admin/(.*)', admin.site.root), |
26 (r'^admin/(.*)', admin.site.root), |