ok in the future i will do that just on most fourms and stuff they prefer external so i thought that was here too but heres the root urls
"""myfirstpysite URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import include, path
from main import views
from index import views
#from chat import views
from unknown import views
from django.conf import settings
from django.contrib.staticfiles import views
from django.urls import re_path
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.contrib.auth import views as auth_views
urlpatterns = [
#path('', auth_views.LoginView.as_view()),
path('', include('index.urls')),
#path('', views.home, name='home')
path('chatv1/', include('chat.urls')),
path('chatv2/', include('chatversion2.urls')),
path('polls/', include('polls.urls')),
path('admin/', admin.site.urls),
path('2/', include('main.urls')),
path('games/', include('games.urls')),
path('staticf/', include('static.urls')),
path('???', include('unknown.urls'))
]
#r'^
#urlpatterns += staticfiles_urlpatterns()
```