2007/6/13, John DeRosa <[EMAIL PROTECTED]>: > > David Larlet wrote: > > 2006/12/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > >> I've been playing with the sitemap stuff and am finding it to be quite > >> slick. I do, however, have some questions about some unusual cases. > >> > >> 1)It works beautifully for listing all the detail pages that make up a > >> list view, but what about the page that takes the list view? In my > >> case, For example, I've got all my guitar pages in there, but not the > >> "guitars" page itself. > > An list of objects returned in a sitemap can be for any page on your > site. The object will have an URL associated with it, as well as a > frequency of change and priority, etc. So you can make a list of > objects that are entirely arbitrary, and as long as the URL returned for > each object corresponds to a page on your site (i.e., as long as the URL > returns a page on an HttpGet), everything works as you'd expect. > Is it possible that you just paste an example? Because I've tried with a DummyModel with a get_absolute_url function and it doesn't work...
Anyway, thanks for your help. David --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---