[Fixed]-Custom Field view in inline admin form

1👍

You can display the name changing the method __unicode__ of VideoData to:

def __unicode__(self):
    return self.video_name

EDIT:
Add method __str__ to VideoData:

def __unicode__(self):
    return self.video_id

def __str__(self):
    return self.video_name
👤bcap

0👍

I displayed names with following change:

def __unicode__(self):
    return self.video_name

def __str__(self):
    return self.video_id
👤Naresh

Leave a comment