[Fixed]-Use a reverse OneToOne relation in Django FileField upload_to

1👍

the problem is in your ‘get_upload_path’ function, cause you’re calling to asset.game.slug… but you don’t have defined any game yet…

Leave a comment