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 (r'', include('basic.blog.urls')), |
21 url(r'', |
|
22 direct_to_template, {"template": "home.html"}, |
|
23 name='home'), |
22 (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}), |
23 (r'^comments/', include('django.contrib.comments.urls')), |
25 (r'^comments/', include('django.contrib.comments.urls')), |
24 (r'^admin/(.*)', admin.site.root), |
26 (r'^admin/(.*)', admin.site.root), |
25 ) |
27 ) |
26 |
28 |