[Fixed]-How to set id from foreignkey to other column name in django

1👍

First the idfields are not necessary Django puts it by default.

to get the w_nama_kategori attribute in templates, you should use {{blog.w_kategori.w_nama_kategori}}

👤arcegk

Leave a comment