I'm in the process of setting up a sitemap for our website. I've successfully used GenericSitemap to add our blog posts to the sitemap. However, I'm running into problems getting FlatPageSitemap to work correctly. I keep getting the error, "'Site' object has no attribute 'flatpage_set'."
I opened a django shell and created a Site object using the code in the FlatPageSitemap class. A dir() on the Site object showed that it truly doesn't have a flatpage_set() attribute. In fact, I grepped all of the django source code and the only place "flatpage_set" is referenced is in the FlatPageSitemap class in django/contrib/sitemaps/ __init__.py. Am I missing something here or is this a bug? BTW, I'm using the latest django source. Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---