2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00
Mirror of Troggle Repo but with issue tracking etc. https://expo.survex.com
Go to file
substantialnoninfringinguser d25fd97864 [svn] 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.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8244 by aaron @ 2/16/2009 8:31 AM
2009-05-13 05:52:15 +01:00
docsEtc [svn] Draft of paper for ICS. 2009-05-13 05:51:21 +01:00
expo [svn] My crusade to make our project more Djangoic. 2009-05-13 05:52:15 +01:00
media [svn] Had forgotten to add these. 2009-05-13 05:50:12 +01:00
parsers [svn] My crusade to make our project more Djangoic. 2009-05-13 05:52:15 +01:00
profiles [svn] Add user registration and user profiles. 2009-05-13 05:48:10 +01:00
registration [svn] Add user registration and user profiles. 2009-05-13 05:48:10 +01:00
templates [svn] My crusade to make our project more Djangoic. 2009-05-13 05:52:15 +01:00
__init__.py [svn] Initial troggle checkin 2009-05-13 05:13:38 +01:00
databaseReset.py [svn] cave maps to all logbook entry trips done there 2009-05-13 05:46:12 +01:00
localsettingsserver.py [svn] survey block object 2009-05-13 05:39:52 +01:00
localsettingsubuntu.py [svn] add local settings files 2009-05-13 05:20:20 +01:00
localsettingswindows.py [svn] Added URL_ROOT to local settings 2009-05-13 05:20:31 +01:00
manage.py [svn] Initial troggle checkin 2009-05-13 05:13:38 +01:00
middleware.py [svn] Initial troggle checkin 2009-05-13 05:13:38 +01:00
settings.py [svn] My crusade to make our project more Djangoic. 2009-05-13 05:52:15 +01:00
urls.py [svn] My crusade to make our project more Djangoic. 2009-05-13 05:52:15 +01:00