title: AttributeError: 'bool' object has no attribute
body: <p>I am working on a Django project and essentially I have written a model which stores user details. They complete this profile after they have signed up and I have a Boolean in the User model which states whether they have completed this custom profile yet so I can make changes in the template.</p>
  
  <p>When the form for the second profile page gets submitted I would like it to update the Bool from False to True but I am getting the error:</p>
  
  <pre><code>'bool' object has no attribute 'has_created_artist_profile'
  </code></pre>
  
  <p>See code below:</p>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>def ArtistEditView(request):
      artist = Artist.objects.get(user=request.user)
      current_artist = request.user
      artist_status = current_artist.has_created_artist_profile
  
      if request.method == 'POST':
          form = ArtistForm(request.POST, request.FILES, instance=artist)
          if form.is_valid():
              artist_status.has_created_artist_profile = True
              artist_status.save()
              form.save()
              return redirect(reverse('artist_home'))
      else:
          artist_dict = model_to_dict(artist)
          form = ArtistForm(artist_dict)
      return render(request, 'artist/artist_edit.html', {'form': form})
  </code></pre>
  
  <p><strong>forms.py</strong></p>
  
  <pre><code>class ArtistForm(forms.ModelForm):
      class Meta:
          model = Artist
          exclude =['user', ]
  </code></pre>
  
  <p>Any one able to suggest a better way to update this / to get rid of the error?</p>