expoweb/troggle/templates
aaron 6776111c6e [svn r8244] My crusade to make our project more Djangoic.
Got rid of the url tags in template, replaced them with get_absolute_url method calls where possible. Adding get_absolute_url in models enables direct link to the public model views in admin. The use of get_absolute_url, which is the correct Django way of doing things, eliminates any need for the redundant "href" fields we were using. Those fields now need to be deleted from the models and from the parsers.

Made the context processor to pass settings to all templates actually work, although this was a little uglier than expected. I had to put in a new render_response to replace render_to_response. This is because Django uses Context, not RequestContext by default. I wish they would change this, it's annoying. Anyway, I deleted all the manual settings passing in the views.

I also eliminated a couple of unnecessary methods and stuff like that.
2009-02-16 09:31:26 +01:00
..
admin [svn r8080] Replace "django" with "troggle" in admin 2008-12-07 23:18:58 +01:00
profiles [svn r8231] Add user registration and user profiles. 2009-01-30 00:02:03 +01:00
registration [svn r8231] Add user registration and user profiles. 2009-01-30 00:02:03 +01:00
base.html [svn r8238] Now that I've put the new css up, let's use it. Should have only stuff we actually use. 2009-01-31 22:20:36 +01:00
calendar.html [svn r8244] My crusade to make our project more Djangoic. 2009-02-16 09:31:26 +01:00
cave.html [svn r8244] My crusade to make our project more Djangoic. 2009-02-16 09:31:26 +01:00
cavearea.html [svn r8227] Template update to use wiki_to_html_short 2009-01-24 20:40:00 +01:00
cavebase.html [svn r8227] Template update to use wiki_to_html_short 2009-01-24 20:40:00 +01:00
caveindex.html [svn r8244] My crusade to make our project more Djangoic. 2009-02-16 09:31:26 +01:00
cavesearch.html [svn r8084] Forgot to add cave and logbook search templates in earlier commit. 2008-12-09 02:31:30 +01:00
entrance.html [svn r8034] Initial troggle checkin 2008-10-26 22:04:06 +01:00
expedition.html [svn r8244] My crusade to make our project more Djangoic. 2009-02-16 09:31:26 +01:00
fileupload.html [svn r8232] yorkshire work with tunnel integration 2009-01-30 00:40:56 +01:00
index.html [svn r8232] yorkshire work with tunnel integration 2009-01-30 00:40:56 +01:00
listdir.html [svn r8232] yorkshire work with tunnel integration 2009-01-30 00:40:56 +01:00
logbookentry.html [svn r8244] My crusade to make our project more Djangoic. 2009-02-16 09:31:26 +01:00
logbooksearch.html [svn r8084] Forgot to add cave and logbook search templates in earlier commit. 2008-12-09 02:31:30 +01:00
person.html [svn r8244] My crusade to make our project more Djangoic. 2009-02-16 09:31:26 +01:00
personexpedition.html [svn r8244] My crusade to make our project more Djangoic. 2009-02-16 09:31:26 +01:00
personForm.html [svn r8231] Add user registration and user profiles. 2009-01-30 00:02:03 +01:00
personindex.html [svn r8244] My crusade to make our project more Djangoic. 2009-02-16 09:31:26 +01:00
statistics.html [svn r8081] Added cave and logbook search, collapsible footer navbar, useless statistics page. Also fixed broken css. Toying with forms but not committing those yet. 2008-12-08 05:28:03 +01:00
survexblock.html [svn r8221] merge the trip table to have surveys by date 2009-01-24 15:01:59 +01:00
survey.html [svn r8244] My crusade to make our project more Djangoic. 2009-02-16 09:31:26 +01:00
svxfile.html [svn r8034] Initial troggle checkin 2008-10-26 22:04:06 +01:00