Re: How sitemaps used in the Django

2012-08-31 Thread mulianto
hi sitemaps is easy.. last day i implement it in only 2 hours read the documentation in django web. just follow the documentation ˆ⌣ˆ Sent from my iPhone On 31 Agt 2012, at 17:04, Mugdha wrote: > Please help me in generating site maps for app. which is in django. > --

Re: How sitemaps used in the Django

2012-08-31 Thread Phil
nearly forgot, also in urls.py... (r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}), On Friday, August 31, 2012 10:04:26 AM UTC+1, Mugdha wrote: > > Please help me in generating site maps for app. which is in django. > -- You received this message because

Re: How sitemaps used in the Django

2012-08-31 Thread Phil
Hi Mugdha, First add 'django.contrib.sitemaps' to your installed apps. Then create a file "sitemap.py" in your project root with something like from django.core.urlresolvers import reverse from django.contrib.sitemaps import Sitemap from blog.models import Entry class

Re: How sitemaps used in the Django

2012-08-31 Thread Amyth Arora
Hey Mugdha, Have you had a look at django sitemap framework ? 1. add django.contrib.sitemaps to INSTALLED_APPS and then syncdb 2. add (r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}) to urls.py 3.

How sitemaps used in the Django

2012-08-31 Thread Mugdha
Please help me in generating site maps for app. which is in django. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ZLpW-xn_TEYJ. To post to this group,