[Fixed]-Django – Is storing objects in session a good practice?

23👍

This seems like a bad idea. Apart from anything else, if you store an object in the session, it won’t change if/when the database version does.

4👍

there is exception:

if your object doesnt exist in db yet

for example if you build it (object) through many steps/views.

Leave a comment