So I am new to Django, and I am learning it using an existing app in my company. When I look at the urls.py I see the following:
path('', include('django.contrib.auth.urls')),
path('', include(('apps.resource.urls', 'resource'), namespace='resource')),
path('', include(('apps.lib.urls', 'lib'), namespace='lib')),
So my question is why are there multiple mappings for ''
?
I thought it was one pattern and then a url mapping to resolve that pattern. Can anyone help me understand what is happening here?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…