I have this code(which doesn\'t give me expected result)
#subject_content.html
{% block main-menu %}
{% include \"subject_base.html\" %}
{% endblock %}
Like @Besnik suggested, it's pretty simple:
{% include "subject_file_upload.html" with form=form foo=bar %}
The documentation for include mentions this. It also mentions that you can use only to render the template with the given variables only, without inheriting any other variables.
Thank you @Besnik