Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
library-app-django
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ilham Maulana
library-app-django
Commits
1d2f401d
Commit
1d2f401d
authored
Aug 01, 2024
by
Ilham Maulana
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: homepage route
parent
2bd579e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
urls.py
config/urls.py
+2
-1
homepage.html
dashboard/templates/homepage.html
+2
-2
No files found.
config/urls.py
View file @
1d2f401d
...
...
@@ -24,10 +24,11 @@ from django.contrib.auth.views import (
PasswordResetCompleteView
,
)
from
dashboard.views
import
UpcomingLoanView
,
OverduedLoanView
from
dashboard.views
import
UpcomingLoanView
,
OverduedLoanView
,
HomePage
urlpatterns
=
[
# local
path
(
""
,
HomePage
.
as_view
()),
path
(
"admin/"
,
admin
.
site
.
urls
),
path
(
"dashboard/"
,
include
(
"dashboard.urls"
)),
path
(
"books/"
,
include
(
"book.urls"
)),
...
...
dashboard/templates/homepage.html
View file @
1d2f401d
...
...
@@ -11,8 +11,8 @@
>
<h4
class=
"h4"
>
Let's get started
</h4>
<div
class=
"d-flex gap-2 my-2"
>
<a
href=
"/auth/login"
class=
"btn btn-outline-primary"
>
Login
</a>
<a
href=
"/auth/sign-up"
class=
"btn btn-primary"
>
Sign Up
</a>
<a
href=
"/
users/
auth/login"
class=
"btn btn-outline-primary"
>
Login
</a>
<a
href=
"/
users/
auth/sign-up"
class=
"btn btn-primary"
>
Sign Up
</a>
</div>
</section>
</main>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment