Metadata-Version: 1.1
Name: django-i18n-sitemap
Version: 0.1
Summary: Adds the possibility to have i18n urls in your sitemap
Home-page: https://github.com/TracyWebTech/django-i18n-sitemap
Author: Luan Pablo
Author-email: luan@tracy.com.br
License: GNU General Public License v2 (GPLv2)
Description: django-i18n-sitemap
        ===================
        
        Usage
        -----
        
        Add ``i18nsitemap`` to your ``INSTALLED_APPS``
        
        In your Sitemap class who supports i18n inherit from i18nsitemap.I18nSitemap instead from django.
        
        Set ``i18n = True``
        
        That's it. And there is no problem on using ``I18nSitemap`` on any Sitemap class, no needs to add or remove anything.
        
        Here it follows an example
        
        ::
        
            class BlogSitemap(I18nSitemap):
                changefreq = "never"
                priority = 0.5
                i18n = True
        
                def items(self):
                    return Entry.objects.filter(is_draft=False)
        
                def lastmod(self, obj):
                    return obj.pub_date
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
