simplify apps
This commit is contained in:
@@ -40,12 +40,11 @@ ALLOWED_HOSTS = ["127.0.0.1", "localhost"]
|
||||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
"api",
|
||||
"game",
|
||||
"frontend",
|
||||
"rest_framework",
|
||||
"rest_framework_simplejwt",
|
||||
"rest_framework_simplejwt.token_blacklist",
|
||||
"django.contrib.admin",
|
||||
"django.contrib.auth",
|
||||
"django.contrib.contenttypes",
|
||||
"django.contrib.sessions",
|
||||
|
||||
@@ -15,11 +15,8 @@ Including another URLconf
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
|
||||
from django.contrib import admin
|
||||
from django.urls import include, path
|
||||
|
||||
urlpatterns = [
|
||||
path("", include("frontend.urls")),
|
||||
path("admin/", admin.site.urls),
|
||||
path("api/", include("api.urls")),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user