title: page view count for django detail view
body: <p>I want to get the number of views to the details page, and I did, but I have a problem, Every time I refresh the page, the number of views increases.
  I want the view to increase only once for each user, not to increase the number of visits each time the page refresh.</p>
  <pre><code>model:
  class Product(models.Model):
      name = models.CharField(max_length=300)
      create = models.DateTimeField(auto_now_add=True)
      update = models.DateTimeField(auto_now=True)
      slug = models.SlugField(unique=True)
      information = models.TextField(blank=True, null=True)
      views = models.IntegerField(null=True, blank=True, default=0)
      
  view:
  def details(request, id):
       product_view = Product.objects.get(id=id)
       product_view.views = product_view.views  + 1
       product_view.save()
       return render(...) 
  </code></pre>