projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d59a4b2
)
Reverse order of blog posts on blog dashboard.
author
Aditi
<aditi.iitr@gmail.com>
Tue, 30 Jul 2013 13:28:17 +0000
(18:58 +0530)
committer
Aditi
<aditi.iitr@gmail.com>
Tue, 30 Jul 2013 13:28:17 +0000
(18:58 +0530)
mediagoblin/media_types/blog/views.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/media_types/blog/views.py
b/mediagoblin/media_types/blog/views.py
index 80b64798d078555889554cc1f56452e5c1bc416e..7ab468923d49eee9eed5a9dab7c848b7e4500128 100644
(file)
--- a/
mediagoblin/media_types/blog/views.py
+++ b/
mediagoblin/media_types/blog/views.py
@@
-224,6
+224,7
@@
def blog_dashboard(request):
blog_post = each_blog_post_data.get_media_entry
if blog_post:
blog_posts_list.append(blog_post)
+ blog_posts_list.reverse()
blog_post_count = len(blog_posts_list)
if may_edit_blogpost(request, blog):