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
7a951276
Commit
7a951276
authored
Jul 15, 2024
by
Ilham Maulana
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: overdued and upcoming book loans overview
parent
d4a0b8a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
urls.py
config/urls.py
+3
-0
urls.py
dashboard/urls.py
+0
-4
No files found.
config/urls.py
View file @
7a951276
...
...
@@ -19,6 +19,7 @@ from django.contrib import admin
from
django.urls
import
path
,
include
from
django.conf
import
settings
from
django.conf.urls.static
import
static
from
dashboard.views
import
UpcomingLoanView
,
OverduedLoanView
urlpatterns
=
[
# local
...
...
@@ -27,6 +28,8 @@ urlpatterns = [
path
(
"books/"
,
include
(
"book.urls"
)),
path
(
"users/"
,
include
(
"users.urls"
)),
path
(
"book-loans/"
,
include
(
"loans.urls"
)),
path
(
"upcoming-loans/"
,
UpcomingLoanView
.
as_view
(),
name
=
"upcoming_loans"
),
path
(
"overdued-loans/"
,
OverduedLoanView
.
as_view
(),
name
=
"overdued_loans"
),
# api
path
(
"api/v1/"
,
include
(
"api.urls"
),
name
=
"API_V1"
),
# 3rd party
...
...
dashboard/urls.py
View file @
7a951276
...
...
@@ -3,8 +3,4 @@ from dashboard.views import DashboardView
urlpatterns
=
[
path
(
""
,
DashboardView
.
as_view
(),
name
=
"dashboard"
),
# path("categories/", include("categories.urls")),
# path("book-loans/", include("book_loans.urls")),
# path("upcoming-loans/", UpcomingLoanView.as_view(), name="upcoming_loans"),
# path("overdued-loans/", OverduedLoanView.as_view(), name="overdued_loans"),
]
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