Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hey, I've tried to put that into action and it seems to cause some issues on the backend. I try to run it (having my defined list and then replacing Achievement.all_achievements with the defined list) but somehow that causes there to be an attribute error where it tells me that the attribute 'Toggle' isn't connected to the 'str' object but looking in the back end file I can see where it is defined and I can't immediately see why the change of name would correspond to  whether or not this attribute would be defined.  So yeah , way over my head 😅 I'll do some messing around but all good if there's no clear answer.

Are you putting the actual Achievement objects into your list? The error sounds like you're just putting strings in instead. If you have a line like define abc_achievement = Achievement(...) then you need to put abc_achievement in the list. No quotes.

Exactly my problem! Thank you so much for catching that, works perfectly now!