Django @csrf_exempt a logging endpoint

I'm making a social media site where users click into posts, and every time they do so, I call an endpoint to log a view for that post. Would it be safe to csrf_exempt this endpoint that only fetches a Post object from a slug and increases the post's view_count by 1?

Back to Top