Package madrona :: Package news :: Module urls
[hide private]

Module urls

source code

Variables [hide private]
  entry_dict = {'queryset': Entry.objects.filter(is_draft= False...
  tag_dict = {'queryset': Tag.objects.all(),}
  urlpatterns = patterns('django.views.generic', url(r'^/?$', Ar...
Variables Details [hide private]

entry_dict

Value:
{'queryset': Entry.objects.filter(is_draft= False), 'date_field': 'pub\
lished_on',}

urlpatterns

Value:
patterns('django.views.generic', url(r'^/?$', ArchiveIndexView.as_view\
(** entry_dict), name= "news-main"), url(r'^(?P<year>\d{4})/(?P<month>\
\d{1,2})/(?P<day>\d{1,2})/(?P<slug>[0-9A-Za-z-]+)/$', DateDetailView.a\
s_view(slug_field= 'slug', month_format= '%m',** entry_dict), name= "n\
ews-detail"), url(r'^about/$', TemplateView.as_view(template_name= 'ne\
ws/about.html'), name= 'news-about'),)