Skip to content

Tag: url-mapping

In django what is the use of urls.py for each app?

I am making a django project and i learnt that we need to create a urls.py file for each app created within project. Can anyone please tell what is the purpose of this because we have one urls.py file for the main project, isn’t that enough? Answer Mostly for reusability, partly for organizational reaso…