fixing E501 flake8 error
This commit is contained in:
parent
c483662885
commit
6205c62709
1 changed files with 2 additions and 1 deletions
|
@ -167,7 +167,8 @@ class AuthorEntriesView(BaseBlogListView, ListView):
|
|||
return self.optimize(qs)
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
kwargs['author'] = get_object_or_404(User, **{User.USERNAME_FIELD: self.kwargs.get('username')})
|
||||
kwargs['author'] = get_object_or_404(User,
|
||||
**{User.USERNAME_FIELD: self.kwargs.get('username')})
|
||||
context = super(AuthorEntriesView, self).get_context_data(**kwargs)
|
||||
return context
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue