Answer the question
In order to leave comments, you need to log in
Django, how to process view requests in parallel?
Good afternoon, there is a view - one article and counts of views, if you go to it in parallel, then some views will not be counted. What is the easiest way to fix this?
What is the easiest way to do this?
Code that changes views
article = Article.objects.get(id=kwargs.get('pk'))
article.count += 1
article.save()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question