4👍
✅
You can import the module and pass the list of urls itself:
# settings app -- urls.py
from django.conf.urls import patterns, include, url
from records import urls as records_urls
from .views import *
urlpatterns = [
# Records App Urls
url(r'^(?P<player_id>\d+)/records/', include(records_urls.urlpatterns_types)),
]
👤knbk
Source:stackexchange.com