About the url alias in urls.py under multiple apps in Django project
In the Django development process, it will often Use routing alias (name in url)
but there will usually be multiple apps in a Django project, that is, there will be multiple urls.py files, and there will be more in each urls.py file. Strip routing, this will inevitably have the same alias, and when calling the alias, if you do not set the sessing.py file, there will be the problem of finding the wrong alias, you may find the alias of other apps. At this time you need to set the sessing.py file.
Find TEMPLATES in the sessing.py file and make the following changes:
Modify the meaning of True
True and False here:
True: Indicates priority under the current app Find the alias
False: indicates that the alias search is performed globally (the entire project)