[Fixed]-Django Form is not visible in Inherited template

1👍

The select_chart_form and video_by_user views are completely separate. The first one renders just base.html, and supplies the form variable when it does so. The second one renders chart.html, which inherits from base.html, but it only supplies the variables needed for chart.html itself: it doesn’t provide the form needed for base.html. You will need to supply that in video_by_user.

Leave a comment