Re: sitemap

2011-09-11 Thread veva...@yandex.ru
Thank You very much! -- 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/-/MUltEa4dGogJ. To post to this group, send email to django-users@googlegroups.com. To un

RE: sitemap

2011-09-05 Thread Fatih ERİKLİ
> Exception Value: Reverse for 'entry' with arguments '('my 1st post',)'look at > urls.py > Date: Sun, 4 Sep 2011 22:25:50 -0700 > Subject: sitemap > From: veva...@yandex.ru > To: django-users@googlegroups.com > > Would You please help me to find a mistake? > --- blog.model.py: > from djan

Re: Sitemap generation problem

2011-01-22 Thread urukay
Try something like this: def location(self, obj): return reverse('path.to.your.view.function', args=[category]) and put it into your sitemap.py On 21. Jan, 20:40 h., galago wrote: > I can't find out how to pass corrent location to the sitemap element. > I have declared: > def items(sel

Re: sitemap() got an unexpected keyword argument 'template_name'

2011-01-17 Thread spenoir
Thanks Shawn, thats a good solution but just seems unnecessary and the docs are misleading. adam On Jan 14, 6:51 pm, Shawn Milochik wrote: > On Jan 14, 2011, at 12:19 PM, spenoir wrote: > > > I pretty sure I've set up my sitemaps correctly but I get this error > > when I try to specify a custom

Re: sitemap() got an unexpected keyword argument 'template_name'

2011-01-14 Thread Shawn Milochik
On Jan 14, 2011, at 12:19 PM, spenoir wrote: > I pretty sure I've set up my sitemaps correctly but I get this error > when I try to specify a custom template for the sitemap. anyone any > ideas? I'm using Django 1.2 Because the function declaration doesn't accept template_name. You can replace

Re: sitemap how to publish many to many field?

2009-12-11 Thread Michael
Alright, so I have taken it one step further. In the code below all the items appear in the sitemap (shops from category prepaid and shops from the category tv). Next step is to add the productgroup in the custom sitemap url (see location code). When I try to do this, only the first item of the slu

Re: Sitemap questions (probably dumb ones)

2007-06-16 Thread David Larlet
2007/6/16, John DeRosa <[EMAIL PROTECTED]>: > > David Larlet wrote: > > > > Any thoughts about this implementation? > > I think you could get rid of FakeObject() completely: > > class MainSitemap(Sitemap): > priority = 0.8 > > def items(self): > return ["/", "/archives/", "/foo/

Re: Sitemap questions (probably dumb ones)

2007-06-15 Thread John DeRosa
David Larlet wrote: > > > Thanks for your suggestion, I've just done that: > > class FakeObject(object): > def __init__(self, url): > self.url = url > > class MainSitemap(Sitemap): > priority = 0.8 > > def items(self): > return [FakeObject('/'), > FakeOb

Re: Sitemap questions (probably dumb ones)

2007-06-15 Thread David Larlet
2007/6/15, John DeRosa <[EMAIL PROTECTED]>: > > David Larlet wrote: > > 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, how

Re: Sitemap questions (probably dumb ones)

2007-06-15 Thread John DeRosa
David Larlet wrote: > 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. >

Re: Sitemap questions (probably dumb ones)

2007-06-15 Thread David Larlet
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 beauti

Re: Sitemap questions (probably dumb ones)

2007-06-13 Thread John DeRosa
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 >> l

Re: Sitemap questions (probably dumb ones)

2007-06-12 Thread David Larlet
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

Re: sitemap for django 0.95.1

2007-05-07 Thread James Bennett
On 5/7/07, Paul Rauch <[EMAIL PROTECTED]> wrote: > if you take a look at the first line of > http://www.djangoproject.com/documentation/sitemaps/ > there is written: "New in Django development version" > meaning: No, not even in 0.96 That's incorrect. The sitemaps app was part of Django 0.96. It

Re: sitemap for django 0.95.1

2007-05-07 Thread Paul Rauch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mary schrieb: > Does the sitemap work for version 0.95.1 > Casue when i went to this url > http://www.djangoproject.com/documentation/0.95/sitemaps/ > it gave me error page > > Thanks you in advance ; > Mary Adel > > if you take a look at the first