adds previous and next links in the sidebar
authorCaleb Forbes Davis V <caldavis@gmail.com>
Sat, 2 Jul 2011 11:15:58 +0000 (06:15 -0500)
committerCaleb Forbes Davis V <caldavis@gmail.com>
Sat, 2 Jul 2011 11:15:58 +0000 (06:15 -0500)
commit9c0fe63fadc848b5154c7c1d4b2ff72dd05bc1c6
treee958264fe3d34cfe35e077ea1d0a137c0af3af9d
parent0e3400357d55caf9099f4288ce8aef90eff7867c
adds previous and next links in the sidebar

Feature #401 - previous/next navigation on media pages
* media.html includes a new prev_next.html template containing the links
* prev_next.html calls functions added to the media model to retrieve
  the appropriate objects from the database, formatted with urlgen
* a small change to util.py brings ASCENDING into the mix
mediagoblin/db/models.py
mediagoblin/db/util.py
mediagoblin/templates/mediagoblin/user_pages/media.html
mediagoblin/templates/mediagoblin/utils/prev_next.html [new file with mode: 0644]