Hi, Thanks for replay, but I was talking about the django sitemap framework http://docs.djangoproject.com/en/dev/ref/contrib/sitemaps/ , and problem: how to add my custom page (serving by server) to output (XML) of the django sitemap framework?
regards. On 9 Wrz, 18:47, Peter Coles <pe...@hunch.com> wrote: > Hi eli, > > If you want serve a "static file" (that never changes and doesn't take > advantage of django's template system) then you shouldn't be serving > it with django. You can use django if you really > want:http://docs.djangoproject.com/en/dev/howto/static-files/but you're > better off having your server (like apache) handle it > directly:http://docs.djangoproject.com/en/dev/howto/deployment/modpython/#id1 > > However, you may want your about-me page to inherit a header and > footer or other stuff from a base template (if you don't know what I'm > talking about read > this:http://docs.djangoproject.com/en/dev/intro/overview/#intro-overview > ) -- if that's the case, you can use the direct_to_template generic > view as described here: > > http://docs.djangoproject.com/en/dev/ref/generic-views/#django-views-... > > -Peter > > On Sep 9, 11:41 am, eli <eliasz.wont...@gmail.com> wrote: > > > Hi, > > > How to add custom static url (they are not in database) to Django > > Sitemap? for ex: /about-me.html, /contact.html, /some-static-url.html > > > regards. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---