F
F
Friend2018-12-24 16:33:46
Django
Friend, 2018-12-24 16:33:46

How to create a robot and sitemap for Django 2.1?

There are about 4 applications in the project, and each has models.
Tell me how to register the generation of sitemap and robot.txt for Django 2.1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Friend, 2018-12-24
@Tiran_94

sitemaps made according to the tutorial, but there you need to use the documentation to edit part of the outdated code:
https://godjango.com/23-robots-and-sitemaps/
https://docs.djangoproject.com/en/2.1/ref/contrib /...
But the robot is outdated

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question