Lost update on concurrent increments

Code reviewMedium20 min

Your task

Review this Python (Django) view that increments an article's view counter and updates last-seen.