My urls.py file:
from django.urls import include, re_path from django.contrib import admin from profiles import urls as profile_urls from chat import urls as chat_urls
urlpatterns = [ re_path(r'^admin/', admin.site.urls), re_path(r'^', include(home_urls)), re_path(r'accounts/', include(profile_urls)), re_path(r'chat/', include(chat_urls)),
]