[Answered ]-Django : render a view in other views

1👍

If you need the table on every page i would use an inclusion tag and include it in the base template that all relevant pages inherit from.

👤arie

1👍

There are several approaches you can take to that. One is to write some middleware to add some more data to each response as it leaves the view. The other would be to write your own template tag to render the section in question. Look here for middleware and here for template tags.

👤TimD

Leave a comment