# Path: twobuntu/views.py
# def index(request):
# def commit():
# def about(request):
# def links(request):
# def feedback(request):
# def join(request):
# def opensearch(request):
# def old(request, id):
# 
# Path: twobuntu/feeds.py
# class LatestArticlesFeed(ArticleFeed):
#     """
#     Feed of most recent articles.
#     """
# 
#     title = "Latest Articles on 2buntu"
#     link = reverse_lazy('home')
#     description = "Recently published articles about Ubuntu on the 2buntu blog."
# 
#     def items(self):
#         return Article.objects.select_related('author', 'category').filter(status=Article.PUBLISHED)[:20]
# 
# Path: twobuntu/sitemaps.py
# class HomePageSitemap(sitemaps.Sitemap):
#     priority = 1.0
#     changefreq = 'weekly'
# 
#     def items(self):
#         return ['home']
# 
#     def location(self, item):
#         return reverse(item)
# 
# class StaticViewSitemap(sitemaps.Sitemap):
#     priority = 0.8
#     changefreq = 'yearly'
# 
#     def items(self):
#         return ['about', 'links', 'feedback', 'join']
# 
#     def location(self, item):
#         return reverse(item)


from django.conf import settings
from django.conf.urls import include, url
from django.conf.urls.static import static
from django.contrib import admin
from django.contrib.sitemaps.views import sitemap
from twobuntu import views
from twobuntu.feeds import LatestArticlesFeed
from twobuntu.sitemaps import HomePageSitemap, StaticViewSitemap



sitemaps = {
    'home': HomePageSitemap,
    'static': StaticViewSitemap,
}

urlpatterns = [

# Path: twobuntu/views.py
# def index(request):
# def commit():
# def about(request):
# def links(request):
# def feedback(request):
# def join(request):
# def opensearch(request):
# def old(request, id):
# 
# Path: twobuntu/feeds.py
# class LatestArticlesFeed(ArticleFeed):
#     """
#     Feed of most recent articles.
#     """
# 
#     title = "Latest Articles on 2buntu"
#     link = reverse_lazy('home')
#     description = "Recently published articles about Ubuntu on the 2buntu blog."
# 
#     def items(self):
#         return Article.objects.select_related('author', 'category').filter(status=Article.PUBLISHED)[:20]
# 
# Path: twobuntu/sitemaps.py
# class HomePageSitemap(sitemaps.Sitemap):
#     priority = 1.0
#     changefreq = 'weekly'
# 
#     def items(self):
#         return ['home']
# 
#     def location(self, item):
#         return reverse(item)
# 
# class StaticViewSitemap(sitemaps.Sitemap):
#     priority = 0.8
#     changefreq = 'yearly'
# 
#     def items(self):
#         return ['about', 'links', 'feedback', 'join']
# 
#     def location(self, item):
#         return reverse(item)


# Path: twobuntu/urls.py
from django.conf import settings
from django.conf.urls import include, url
from django.conf.urls.static import static
from django.contrib import admin
from django.contrib.sitemaps.views import sitemap
from twobuntu import views
from twobuntu.feeds import LatestArticlesFeed
from twobuntu.sitemaps import HomePageSitemap, StaticViewSitemap




sitemaps = {
    'home': HomePageSitemap,
    'static': StaticViewSitemap,
}

urlpatterns = [

    url(r'^$', views.index, name='home'),