title: I want to give users ten coins each time they fill out one form
body: <p>I want to give users ten coins each time they fill out one form , so i tried this code above and show this error</p>
  <pre><code>TypeError at /profile
  unsupported operand type(s) for +=: 'DeferredAttribute' and 'int'
  error in views.py in line += 10
  </code></pre>
  <p>models.py</p>
  <pre><code>class User(AbstractUser):
      user_pic = models.ImageField(upload_to='img/',default=&quot;&quot;,null=True, blank=True)
      coins = models.IntegerField(default=100)
      def gives_user_coins_after_create(sender, instance, created, **kwargs):
          if created:
              profile = instance.User.profile
              profile.coins += 10
              profile.save()
  </code></pre>
  <p>views.py</p>
  <pre><code>@login_required(login_url='accounts/login/')
  def profile(request):
      # Gives the user 10 coins for fill up one form
      profile = get_user_model()
      profile.coins += 10
      profile.save()
  
      return render(request,'account/profile.html')
  </code></pre>
  <p>i tried many code but nothing work , any idea or help please</p>