10進数のint()に対して無効なリテラルのエラーが発生します:sharat
そしてそれを修正する方法がわかりません。何かアドバイス?
friend = 'sharat'
user_playlists = Everything.objects.filter(profile = friend).values('playlist').distinct()
class Everything(models.Model):
profile = models.ForeignKey(User)
playlist = models.CharField('Playlist', max_length = 2000, null=True, blank=True)
platform = models.CharField('Platform', max_length = 2000, null=True, blank=True)
video = models.CharField('VideoID', max_length = 2000, null=True, blank=True)
video_title = models.CharField('Title of Video', max_length = 2000, null=True, blank=True)
def __unicode__(self):
return u'%s %s %s %s %s' % (self.profile, self.playlist, self.platform, self.video, self.video_title)