Skip to content

Commit bad3906

Browse files
authored
Merge pull request #14 from HE-Arc/13-ui-main-page-navigation
13 UI main page navigation
2 parents b982587 + 8832f24 commit bad3906

14 files changed

+2551
-246
lines changed

api/fantasyforge/settings.py

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
'django.contrib.sessions',
3838
'django.contrib.messages',
3939
'django.contrib.staticfiles',
40+
'fantasyforgeapp',
41+
'rest_framework',
4042
]
4143

4244
MIDDLEWARE = [

api/fantasyforge/urls.py

+7
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,14 @@
1616
"""
1717
from django.contrib import admin
1818
from django.urls import path
19+
from django.urls import include
20+
from rest_framework.routers import DefaultRouter
21+
22+
router = DefaultRouter()
23+
# Add your viewsets to the router here, for example:
24+
# router.register(r'myviewset', views.MyViewSet)
1925

2026
urlpatterns = [
2127
path('admin/', admin.site.urls),
28+
path("", include(router.urls)),
2229
]

frontend/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<html lang="">
33
<head>
44
<meta charset="UTF-8">
5-
<link rel="icon" href="/favicon.ico">
5+
<link rel="icon" href="/favicon.png">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<title>Vite App</title>
7+
<title>Fantasy Forge</title>
88
</head>
99
<body>
1010
<div id="app"></div>

0 commit comments

Comments
 (0)