Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
concrexit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
70
Issues
70
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
thalia
concrexit
Commits
93232a55
Verified
Commit
93232a55
authored
Jul 07, 2019
by
Sébastiaan Versteeg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix url resolving
parent
b0118742
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
website/activemembers/urls.py
website/activemembers/urls.py
+6
-6
website/education/urls.py
website/education/urls.py
+2
-2
website/members/urls.py
website/members/urls.py
+6
-6
No files found.
website/activemembers/urls.py
View file @
93232a55
...
...
@@ -10,16 +10,16 @@ from activemembers.views import (
app_name
=
"activemembers"
urlpatterns
=
[
path
(
'committees/'
,
CommitteeIndexView
.
as_view
(),
name
=
'committees'
),
path
(
'committees/<int:pk>/'
,
CommitteeDetailView
.
as_view
(),
name
=
'committee'
),
path
(
'
societi
es/'
,
SocietyIndexView
.
as_view
(),
name
=
'societi
es'
),
path
(
'
committe
es/'
,
CommitteeIndexView
.
as_view
(),
name
=
'committe
es'
),
path
(
'societies/<int:pk>/'
,
SocietyDetailView
.
as_view
(),
name
=
'society'
),
path
(
'
board
s/'
,
BoardIndexView
.
as_view
(),
name
=
'board
s'
),
path
(
'
societie
s/'
,
SocietyIndexView
.
as_view
(),
name
=
'societie
s'
),
re_path
(
r'boards/(?P<since>\d{4})-(?P<until>\d{4})/$'
,
BoardDetailView
.
as_view
(),
name
=
'board'
),
path
(
'boards/'
,
BoardIndexView
.
as_view
(),
name
=
'boards'
),
]
website/education/urls.py
View file @
93232a55
...
...
@@ -16,13 +16,12 @@ urlpatterns = [
path
(
'education/'
,
include
([
path
(
'books/'
,
BookInfoView
.
as_view
(),
name
=
"books"
),
path
(
'courses/'
,
include
([
path
(
''
,
CourseIndexView
.
as_view
(),
name
=
"courses"
),
path
(
'<int:pk>/'
,
include
([
path
(
''
,
CourseDetailView
.
as_view
(),
name
=
"course"
),
path
(
'exam/upload/'
,
ExamCreateView
.
as_view
(),
name
=
"submit-exam"
),
path
(
'summary/upload/'
,
SummaryCreateView
.
as_view
(),
name
=
"submit-summary"
),
path
(
''
,
CourseDetailView
.
as_view
(),
name
=
"course"
),
])),
path
(
'exam/<int:pk>/'
,
ExamDetailView
.
as_view
,
name
=
"exam"
),
path
(
'summary/(<int:pk>/'
,
SummaryDetailView
.
as_view
(),
...
...
@@ -31,6 +30,7 @@ urlpatterns = [
name
=
"submit-exam"
),
path
(
'summary/upload/'
,
SummaryCreateView
.
as_view
(),
name
=
"submit-summary"
),
path
(
''
,
CourseIndexView
.
as_view
(),
name
=
"courses"
),
])),
path
(
'student-participation/'
,
StudentParticipantView
.
as_view
(),
name
=
"student-participation"
),
...
...
website/members/urls.py
View file @
93232a55
...
...
@@ -12,25 +12,25 @@ app_name = "members"
urlpatterns
=
[
path
(
'members/'
,
include
([
path
(
''
,
MembersIndex
.
as_view
(),
name
=
'index'
),
path
(
'<slug:filter>/'
,
MembersIndex
.
as_view
(),
name
=
'index'
),
path
(
'statistics/'
,
StatisticsView
.
as_view
(),
name
=
'statistics'
),
path
(
'profile/<int:pk>'
,
ProfileDetailView
.
as_view
(),
name
=
'profile'
),
path
(
'<slug:filter>/'
,
MembersIndex
.
as_view
(),
name
=
'index'
),
path
(
''
,
MembersIndex
.
as_view
(),
name
=
'index'
),
])),
path
(
'user/'
,
include
([
path
(
''
,
UserAccountView
.
as_view
(),
name
=
'user'
),
path
(
'edit-profile/'
,
UserProfileUpdateView
.
as_view
(),
name
=
'edit-profile'
),
path
(
'change-email/'
,
EmailChangeFormView
.
as_view
(),
name
=
'email-change'
),
path
(
'change-email/verify/<uuid:key>/'
,
EmailChangeVerifyView
.
as_view
(),
name
=
'email-change-verify'
),
path
(
'change-email/confirm/<uuid:key>/'
,
EmailChangeConfirmView
.
as_view
(),
name
=
'email-change-confirm'
),
path
(
'change-email/'
,
EmailChangeFormView
.
as_view
(),
name
=
'email-change'
),
path
(
''
,
UserAccountView
.
as_view
(),
name
=
'user'
),
])),
]
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