Change blogs query object to list object by .all() function in blog_dashboard view.
This commit is contained in:
parent
a46c23e042
commit
0b7c64c8c8
@ -234,6 +234,7 @@ def blog_dashboard(request, page):
|
||||
'pagination':pagination
|
||||
})
|
||||
if not request.user or request.user.id != user.id or not blog_slug:
|
||||
blogs = blogs.all()
|
||||
return render_to_response(
|
||||
request,
|
||||
'mediagoblin/blog/list_of_blogs.html',
|
||||
|
Loading…
x
Reference in New Issue
Block a user