Code style cleanups
Add keyword arguments. Sort arguments and models. Move literals to their own module. Prepend handler_ to signal handlers. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ from .permissions import permission_document_check_out_detail_view
|
||||
class DashboardWidgetTotalCheckouts(DashboardWidgetNumeric):
|
||||
icon_class = icon_dashboard_check_outs
|
||||
label = _('Checked out documents')
|
||||
link = reverse_lazy('checkouts:check_out_list')
|
||||
link = reverse_lazy(viewname='checkouts:check_out_list')
|
||||
|
||||
def render(self, request):
|
||||
AccessControlList = apps.get_model(
|
||||
|
||||
Reference in New Issue
Block a user