8000 Issue #9 solved. · moktadirul-raju/DjangoBlog@94b4638 · GitHub
[go: up one dir, main page]

Skip to content

Commit 94b4638

Browse files
committed
Issue #9 solved.
1 parent a582408 commit 94b4638

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
Binary file not shown.

blog/context_processors.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from blog.models import Post
22

3-
#Popularing dictionary for all_posts, tags, categories, post years
3+
#Popularing dictionary for all_posts, tags, categories, post years
44
def post_widget(request):
55
all_posts = Post.objects.order_by('published_date')
66
years = []
@@ -22,9 +22,9 @@ def post_widget(request):
2222
if category not in categories:
2323
categories.append(category)
2424

25-
return {
26-
'all_posts':all_posts,
27-
'years':years,
28-
'tags':tags,
29-
'categories':categories
30-
}
25+
return {
26+
'all_posts':all_posts,
27+
'years':years,
28+
'tags':tags,
29+
'categories':categories
30+
}

db.sqlite3

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)
0