title: Change model field value after button click
body: <p>I do really know that is a common topic but I've already checked every solution i could find and it did not work for me. 
  I would like to add user points using button click.</p>
  
  <p>views.py</p>
  
  <pre><code> def add_points(request):
          if request.GET.get('mybtn'):
              profil = get_object_or_404(Profile, created_by=request.user)
              profil.points += 10
              profil.save(update_fields=["points"])
              return render(request, 'users/profile.html')
  </code></pre>
  
  <p>models.py</p>
  
  <pre><code>class Profile(models.Model):
      user = models.OneToOneField(User, on_delete=models.CASCADE)
      image = models.ImageField(default='default.jpg', upload_to="profile_pics")
      points = models.PositiveIntegerField(default=0)
      people = models.PositiveIntegerField(default=0)
  </code></pre>
  
  <p>html file</p>
  
  <pre><code>&lt;div&gt;
              &lt;form method="POST"&gt;
                  {% csrf_token %}
              &lt;input type="submit" class="btn" value="+10 pkt" name="mybtn"/&gt;
                  &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I have tried diffrent solutons but nothing really worked out for me.</p>