Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
4f4d5677
Verified
Commit
4f4d5677
authored
Apr 28, 2019
by
Sébastiaan Versteeg
Browse files
Change bank account urls
parent
b861b786
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/payments/urls.py
View file @
4f4d5677
...
...
@@ -6,13 +6,14 @@ from .views import BankAccountCreateView, BankAccountListView, \
app_name
=
'payments'
urlpatterns
=
[
# path('', views.index, name='index'),
path
(
'accounts/'
,
include
([
path
(
''
,
BankAccountListView
.
as_view
(),
name
=
'bankaccount-list'
),
path
(
'add/'
,
BankAccountCreateView
.
as_view
(),
name
=
'bankaccount-add'
),
path
(
'<uuid:pk>/revoke/'
,
BankAccountRevokeView
.
as_view
(),
name
=
'bankaccount-revoke'
),
])),
path
(
'user/finance/'
,
include
([
path
(
'accounts/'
,
include
([
path
(
''
,
BankAccountListView
.
as_view
(),
name
=
'bankaccount-list'
),
path
(
'add/'
,
BankAccountCreateView
.
as_view
(),
name
=
'bankaccount-add'
),
path
(
'<uuid:pk>/revoke/'
,
BankAccountRevokeView
.
as_view
(),
name
=
'bankaccount-revoke'
),
])),
]))
]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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