Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widgets_FEKK
Project
Project
Details
Activity
Releases
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
Kyla Martin
widgets_FEKK
Commits
d6cb7c22
Commit
d6cb7c22
authored
May 16, 2022
by
Katrina Bernice Tan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited urls
parent
248f68aa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
urls.py
WidgetFEKK/Assignments/urls.py
+0
-1
urls.py
WidgetFEKK/WidgetFEKK/urls.py
+4
-0
No files found.
WidgetFEKK/Assignments/urls.py
View file @
d6cb7c22
...
@@ -5,7 +5,6 @@ from .views import MainView, AssignmentListView, AssignmentDetailView
...
@@ -5,7 +5,6 @@ from .views import MainView, AssignmentListView, AssignmentDetailView
urlpatterns
=
[
urlpatterns
=
[
path
(
''
,
MainView
.
as_view
(),
name
=
'assignments'
),
path
(
''
,
MainView
.
as_view
(),
name
=
'assignments'
),
path
(
'assignments'
,
AssignmentListView
.
as_view
(),
name
=
'assignment-list'
),
path
(
'assignments'
,
AssignmentListView
.
as_view
(),
name
=
'assignment-list'
),
path
(
'/<int:pk>/details'
,
AssignmentDetailView
.
as_view
(),
name
=
'assignment-detail'
),
]
]
app_name
=
'Assignments'
app_name
=
'Assignments'
\ No newline at end of file
WidgetFEKK/WidgetFEKK/urls.py
View file @
d6cb7c22
...
@@ -15,6 +15,7 @@ Including another URLconf
...
@@ -15,6 +15,7 @@ Including another URLconf
"""
"""
from
django.contrib
import
admin
from
django.contrib
import
admin
from
django.urls
import
path
,
include
from
django.urls
import
path
,
include
from
Assignments.views
import
AssignmentDetailView
urlpatterns
=
[
urlpatterns
=
[
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'admin/'
,
admin
.
site
.
urls
),
...
@@ -22,4 +23,7 @@ urlpatterns = [
...
@@ -22,4 +23,7 @@ urlpatterns = [
path
(
'homepage/'
,
include
(
'Homepage.urls'
,
namespace
=
"Homepage"
)),
path
(
'homepage/'
,
include
(
'Homepage.urls'
,
namespace
=
"Homepage"
)),
path
(
'announcements/'
,
include
(
'Announcements.urls'
,
namespace
=
"Announcements"
)),
path
(
'announcements/'
,
include
(
'Announcements.urls'
,
namespace
=
"Announcements"
)),
path
(
'assignments/'
,
include
(
'Assignments.urls'
,
namespace
=
"Assignments"
)),
path
(
'assignments/'
,
include
(
'Assignments.urls'
,
namespace
=
"Assignments"
)),
path
(
'assignment/<int:pk>/details'
,
AssignmentDetailView
.
as_view
(),
name
=
'assignment-detail'
),
]
]
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