djangosnippets.org: Latest snippets posted by drg006https://djangosnippets.org/users/drg006/2007-05-24T00:52:16.474874-05:00drg006URL Query Parameter Menu
2007-05-24T00:52:16.474874-05:00drg006https://djangosnippets.org/snippets/250/<p>Helps create menus that modify URL query parameters. Create the Menu object in your view and put it in the template context.</p>
Freely redistributableCustom SQL via subquery
2007-05-14T23:46:04.035643-05:00drg006https://djangosnippets.org/snippets/236/<p>You can use custom SQL statements with the existing database API by creating a subquery specified via the <code>tables</code> parameter of <code>extra</code>. (This has only been tested with MySQL and may not work with all database back-ends.)</p>
Freely redistributable