[Answered ]-Trying to include django form in my base.html, but not rendering in other templates?

1👍

Possibly, only your home view defines form in your context. ALL of your views must define it:

context['form'] = MyFormClass()

1👍

You should use a Template Context Processor. Check this answer, it worked for me.

👤pyjavo

Leave a comment