Ensure all release notes are accessible from "devel"
[pgweb/local.git] / docs / navigation.rst
blob01f36bdbbff50fa347a42b482bf41fa461543a94
1 Navigation
2 ==========
3 The navigation system is based on a django function called render_pgweb,
4 implemented in pgweb.util.contexts. This means that all the
5 menu links in the system are defined in this file
6 (pgweb/utils/contexts.py). Each django view needs to use render_pgweb()
7 instead of render(), and this will make the correct nav menu show up.
9 This is one of the parts of the system that can probably be made a lot
10 easier, leaving much room for future improvement :-)