F
F
Friend2017-02-02 22:43:36
Django
Friend, 2017-02-02 22:43:36

How to display sitemap.xml in django?

I saw a bunch of documentation, the conclusion is made through the database.
I have 3 pages for example, /index, /my, /me .
How can I display the sitemap.xml file, preferably in a couple of lines, maybe through viwes you can just output the file as return xml

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Friend, 2017-02-03
@Tiran_94

Found a tutorial for statics/dynamics
ustimov.org/posts/5

Z
zelsky, 2017-02-03
@zelsky

If the site is static then why do you need janga?
And in another case, there is already a "heap of documentation"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question