

def formfield_for_dbfield(self, db_field, **kwargs):
    '\n        :type db_field: str\n        '
    if isinstance(db_field, EmbedVideoField):
        return db_field.formfield(widget=AdminVideoWidget)
    return super(AdminVideoMixin, self).formfield_for_dbfield(db_field, **kwargs)

dataset/ETHPy150Open yetty/django-embed-video/embed_video/admin.py AdminVideoMixin.formfield_for_dbfield/original