I have a list of categories, each of which has a metacategory. I then create some select multiple fields to allow a user to filter which objects he wants to see. This gives me a dictionary like this:
filter={'genres':[id1,id2...],'parts':[id9,id11...],...}
Now i want to store that to the user profile, so the user immediately gets his last search results when returning to the page.
I know i could do this with a M2M field, but that would involve to recreate the filer dictionary, so i would prefer to store the dictionary. Is this a bad idea? Why? If not, what would be a good way to do it?