# Path: statirator/blog/views.py
# class PostView(DetailView):
# class ArchiveView(ListView):
# class TagView(DetailView):
# class TagsView(TemplateView):
#     def get_queryset(self):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_object(self):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
# 
# Path: statirator/blog/feeds.py
# class PostsFeed(LanguageFeed):
# class TagFeed(LanguageFeed):
#     def title(self):
#     def link(self):
#     def items(self):
#     def item_title(self, item):
#     def item_pubdate(self, item):
#     def item_description(self, item):
#     def item_categories(self, item):
#     def get_object(self, request, slug):
#     def title(self, obj):
#     def items(self, obj):
#     def link(self, obj):
#     def item_title(self, item):
#     def item_pubdate(self, item):
#     def item_description(self, item):
# 
# Path: statirator/pages/views.py
# class PageView(DetailView):
#     def get_queryset(self):
#     def render_to_response(self, context, **response_kwargs):
# 
# Path: statirator/pages/sitemap.py
# class PagesSiteMap(Sitemap):
#     def items(self):
# 
# Path: statirator/blog/sitemap.py
# class BlogSiteMap(Sitemap):
#     def items(self):


from django.conf.urls import patterns, url
from django.conf.urls.i18n import i18n_patterns
from django.conf import settings
from statirator.blog import views, feeds
from statirator.pages import views as pviews, sitemap as psitemap
from statirator.blog import sitemap as bsitemap

# we need to make sure the pages slug won't catch the /en/ etc  for index pages
# in various languages
langs_re = '|'.join(x[0] for x in settings.LANGUAGES)

sitemaps = {
    'pages': psitemap.PagesSiteMap,
    'blog': bsitemap.BlogSiteMap,
}

urlpatterns = patterns(
    '',
    url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<slug>[-\w]+)/$',
        views.PostView.as_view(), name='blog_post'),
    url(r'^archive/$', views.ArchiveView.as_view(), name='blog_archive'),

# Path: statirator/blog/views.py
# class PostView(DetailView):
# class ArchiveView(ListView):
# class TagView(DetailView):
# class TagsView(TemplateView):
#     def get_queryset(self):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def get_object(self):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
# 
# Path: statirator/blog/feeds.py
# class PostsFeed(LanguageFeed):
# class TagFeed(LanguageFeed):
#     def title(self):
#     def link(self):
#     def items(self):
#     def item_title(self, item):
#     def item_pubdate(self, item):
#     def item_description(self, item):
#     def item_categories(self, item):
#     def get_object(self, request, slug):
#     def title(self, obj):
#     def items(self, obj):
#     def link(self, obj):
#     def item_title(self, item):
#     def item_pubdate(self, item):
#     def item_description(self, item):
# 
# Path: statirator/pages/views.py
# class PageView(DetailView):
#     def get_queryset(self):
#     def render_to_response(self, context, **response_kwargs):
# 
# Path: statirator/pages/sitemap.py
# class PagesSiteMap(Sitemap):
#     def items(self):
# 
# Path: statirator/blog/sitemap.py
# class BlogSiteMap(Sitemap):
#     def items(self):


# Path: statirator/project_template/project_name/urls.py
from django.conf.urls import patterns, url
from django.conf.urls.i18n import i18n_patterns
from django.conf import settings
from statirator.blog import views, feeds
from statirator.pages import views as pviews, sitemap as psitemap
from statirator.blog import sitemap as bsitemap


# we need to make sure the pages slug won't catch the /en/ etc  for index pages
# in various languages
langs_re = '|'.join(x[0] for x in settings.LANGUAGES)

sitemaps = {
    'pages': psitemap.PagesSiteMap,
    'blog': bsitemap.BlogSiteMap,
}

urlpatterns = patterns(
    '',
    url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<slug>[-\w]+)/$',
        views.PostView.as_view(), name='blog_post'),
    url(r'^archive/$', views.ArchiveView.as_view(), name='blog_archive'),

    url(r'^blog\.rss$', feeds.PostsFeed(), name='blog_feed'),