Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def articles_by_tag(request, tag):
- found_articles = []
- for article in articles_list:
- if tag in article[4]:
- found_articles.append(article)
- beautiful_html = generate_html(found_articles)
- return HttpResponse(beautiful_html)
Add Comment
Please, Sign In to add comment