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:
@@ -714,7 +714,7 @@ class RecentAddedDocumentListView(DocumentListView):
|
||||
pk__in=Document.objects.order_by('-date_added')[
|
||||
:setting_recent_added_count.value
|
||||
].values('pk')
|
||||
). order_by('-date_added')
|
||||
).order_by('-date_added')
|
||||
|
||||
def get_extra_context(self):
|
||||
context = super(RecentAddedDocumentListView, self).get_extra_context()
|
||||
|
||||
Reference in New Issue
Block a user