Replace unnecessary lists with tuples.
This commit is contained in:
@@ -19,14 +19,14 @@ class AuthenticationApp(MayanAppConfig):
|
||||
super(AuthenticationApp, self).ready()
|
||||
|
||||
menu_secondary.bind_links(
|
||||
links=[
|
||||
links=(
|
||||
link_password_change, link_logout
|
||||
],
|
||||
sources=[
|
||||
),
|
||||
sources=(
|
||||
'common:current_user_details', 'common:current_user_edit',
|
||||
'common:current_user_locale_profile_details',
|
||||
'common:current_user_locale_profile_edit',
|
||||
'authentication:password_change_view',
|
||||
'common:setup_list', 'common:tools_list'
|
||||
]
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user