I think most people would not want someone to post their entire Django project into a question, but there's really no way to post an isolated piece of a Django project that someone else can copy into their IDE and run. Django only works if you have all the proper files in order.
Should you just post whatever code is necessary to understand the problem?
head
in its MVCE.