[Django]-'model' object has no attribute 'id'

9👍

You’ve explicitly told Django that filmName is the primary key, so there is no separate ID.

It’s not usually a good idea to do this, though.

Leave a comment