Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elif request.method == 'POST':
- article_id = int(request.POST['id'])
- new_tag = request.POST['new_tag']
- for article in articles_list:
- if article[0] == article_id:
- article[4].append(new_tag)
- return article_by_id(request, article_id)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement