title: ValueError at /spotify/liked/: Cannot assign 'some value': "Liked_Songs.track_name" must be a "Profile" instance
body: <p>So I have users whose profiles are automatically created after user creation with the help of <code>Django Signals</code></p>
  <p><code>models.py</code></p>
  <pre><code>class Profile(models.Model):
     user = models.OneToOneField(User, on_delete=models.CASCADE)
  class Meta:
     db_table = &quot;Profile&quot;
  
  
  class Liked_Songs(models.Model):
     track_name = models.ForeignKey(Profile , on_delete= models.CASCADE , related_name=&quot;track&quot;)
     artiste_name= models.ForeignKey(Profile, on_delete= models.CASCADE , related_name=&quot;artiste&quot;)
     album_name = models.ForeignKey(Profile, on_delete= models.CASCADE, related_name= &quot;album&quot;)
  
  class Meta:
      db_table = &quot;Liked Songs&quot;
  
  def __str__(self):
      return self.track_name
  </code></pre>
  <ol>
  <li><p>In this <code>Liked_Songs</code> model, my <code>views.py</code> accesses an API and my aim is to allow all fields in that model to be populated with data from the API. So there will be multiple <code>track_name</code> etc received. So each Profile can have many <code>track names</code> etc. Is the <code>ForeignKey</code> appropriate for this?</p>
  </li>
  <li><p>However, when I use this route below, i get an error I have stated in the problem description.
  <code>Views.py</code></p>
  <pre><code>def liked(request):
  try:
    if &quot;access_token&quot; in request.session:
       sp = Spotify(auth = request.session.get(&quot;access_token&quot;))
       liked = sp.current_user_saved_tracks(limit=30)['items']
    for idx, item in enumerate(liked):
       track = item['track'][&quot;name&quot;]
       artist= item[&quot;track&quot;][&quot;artists&quot;][0][&quot;name&quot;]
       album = item[&quot;track&quot;][&quot;album&quot;][&quot;name&quot;]
  
       Liked_Songs.objects.create(
           track_name= track,
           artiste_name= artist,
           album_name = album
       ).save()
  
   except SpotifyException:
       return redirect(reverse(&quot;login&quot;))
  </code></pre>
  </li>
  </ol>