Django in community edition

Please read the pinned thread and make sure you understand how to post code with proper formatting, then edit the post to show the code properly.

It’s hard to tell you anything about the error, because you have only shown us code, not an error.