# Path: kikola/core/sitemaps.py
# class IndexSitemap(Sitemap):
#     """
#     kikola.core.sitemaps.IndexSitemap
#     =================================
# 
#     Adds only index page ``/`` to your sitemap collection.
# 
#     Usage (in your project's ``ROOT_URLCONF`` module)::
# 
#         from django.conf.urls.defaults import *
#         from django.contrib.flatpages.models import FlatPage
#         from django.contrib.sitemaps import GenericSitemap
# 
#         from kikola.core.sitemaps import IndexSitemap
# 
# 
#         sitemaps = {
#             'index': IndexSitemap(priority=1.0, changefreq='weekly'),
#             'pages': GenericSitemap({
#                 'queryset': FlatPage.objects.all(),
#             }, priority=0.6, changefreq='monthly'),
#         }
# 
#         urlpatterns = patterns(
#             url(r'^$', 'project.views.index', name='index')
#             (r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap',
#                 {'sitemaps': sitemaps}, 'sitemap'),
#         )
# 
#     """
#     def __init__(self, priority=None, changefreq=None):
#         self.changefreq, self.priority = changefreq, priority
# 
#     def location(self, obj):
#         return obj
# 
#     def items(self):
#         return ['/']


from django.conf.urls.defaults import *
from kikola.core.sitemaps import IndexSitemap



sitemaps = {
    'index': IndexSitemap(priority=1.0, changefreq='daily'),
}


urlpatterns = patterns('testproject.core.views',
    url(r'^context-processors/path/$', 'context_processors_path',
        name='context_processors_path'),
    url(r'^decorators/render-to/$', 'decorators_render_to',
        name='decorators_render_to'),
    url(r'^decorators/render-to/mimetype/$',
        'decorators_render_to_with_mimetype',
        name='decorators_render_to_with_mimetype'),
    url(r'^decorators/render-to/mimetype-in-dict/$',
        'decorators_render_to_with_mimetype_in_dict',
        name='decorators_render_to_with_mimetype_in_dict'),
    url(r'^decorators/render-to-json/$', 'decorators_render_to_json',
        name='decorators_render_to_json'),
    url(r'^decorators/render-to-json/options/$',
        'decorators_render_to_json_with_options',
        name='decorators_render_to_json_with_options'),

# Path: kikola/core/sitemaps.py
# class IndexSitemap(Sitemap):
#     """
#     kikola.core.sitemaps.IndexSitemap
#     =================================
# 
#     Adds only index page ``/`` to your sitemap collection.
# 
#     Usage (in your project's ``ROOT_URLCONF`` module)::
# 
#         from django.conf.urls.defaults import *
#         from django.contrib.flatpages.models import FlatPage
#         from django.contrib.sitemaps import GenericSitemap
# 
#         from kikola.core.sitemaps import IndexSitemap
# 
# 
#         sitemaps = {
#             'index': IndexSitemap(priority=1.0, changefreq='weekly'),
#             'pages': GenericSitemap({
#                 'queryset': FlatPage.objects.all(),
#             }, priority=0.6, changefreq='monthly'),
#         }
# 
#         urlpatterns = patterns(
#             url(r'^$', 'project.views.index', name='index')
#             (r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap',
#                 {'sitemaps': sitemaps}, 'sitemap'),
#         )
# 
#     """
#     def __init__(self, priority=None, changefreq=None):
#         self.changefreq, self.priority = changefreq, priority
# 
#     def location(self, obj):
#         return obj
# 
#     def items(self):
#         return ['/']


# Path: testproject/core/urls.py
from django.conf.urls.defaults import *
from kikola.core.sitemaps import IndexSitemap




sitemaps = {
    'index': IndexSitemap(priority=1.0, changefreq='daily'),
}


urlpatterns = patterns('testproject.core.views',
    url(r'^context-processors/path/$', 'context_processors_path',
        name='context_processors_path'),
    url(r'^decorators/render-to/$', 'decorators_render_to',
        name='decorators_render_to'),
    url(r'^decorators/render-to/mimetype/$',
        'decorators_render_to_with_mimetype',
        name='decorators_render_to_with_mimetype'),
    url(r'^decorators/render-to/mimetype-in-dict/$',
        'decorators_render_to_with_mimetype_in_dict',
        name='decorators_render_to_with_mimetype_in_dict'),
    url(r'^decorators/render-to-json/$', 'decorators_render_to_json',
        name='decorators_render_to_json'),
    url(r'^decorators/render-to-json/options/$',
        'decorators_render_to_json_with_options',
        name='decorators_render_to_json_with_options'),

)