make master pep8-ready again
This commit is contained in:
@@ -35,11 +35,12 @@ def index(request):
|
||||
def tags(request, tag=""):
|
||||
posts = deque(Post.objects.filter(tags__name=tag))
|
||||
featured_post = Post.objects.filter(slug=tag).first()
|
||||
context= {
|
||||
context = {
|
||||
"posts": posts,
|
||||
"featured_post":featured_post,
|
||||
"tags_list": None}
|
||||
return render(request, 'posts/tag.html',context)
|
||||
"featured_post": featured_post,
|
||||
"tags_list": None,
|
||||
}
|
||||
return render(request, 'posts/tag.html', context)
|
||||
|
||||
|
||||
def show(request, id=None):
|
||||
|
||||
Reference in New Issue
Block a user