cmsplugin_blog

Rendering entry details

  1. urls.py: when url that matchs this pattern is called.
  2. The unction 'blogdetail' is called. It is defined in urls.py as function 'views.py.EntryDateDetailView.asview()'
urls.py
--------------------------------
...
from cmsplugin_blog.views import EntryDateDetailView, EntryArchiveIndexView
...
(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/(?P<slug>[-\w]+)/$',blog_detail, blog_info_detail_dict, 'blog_detail')
...
blog_detail = EntryDateDetailView.as_view()