summaryrefslogtreecommitdiffstats
path: root/settings.py
Commit message (Collapse)AuthorAgeFilesLines
* [svn] Photo file handling and mugshots parsing sorted.substantialnoninfringinguser2009-05-131-1/+7
| | | | | Made URL settings more relative, less redundant. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8246 by aaron @ 2/18/2009 6:45 AM
* [svn] My crusade to make our project more Djangoic.substantialnoninfringinguser2009-05-131-1/+1
| | | | | | | | | 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
* [svn] Add user registration and user profiles.substantialnoninfringinguser2009-05-131-0/+10
| | | | | | | | | Used modified versions of django-registration and django-profiles , both on bitbucket. The Person model is now set up as the profile for auth.User s. I set up a requestcontext so that settings is automatically passed to every template, no need to repeat ourselves in views. However, this needs to be refined: I will soon change it to only pass a subset of settings. E.G. we do not need to be passing the DB login and password! Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8231 by aaron @ 1/29/2009 11:02 PM
* [svn] Changed admin media prefix and enabled smart slash addingsubstantialnoninfringinguser2009-05-131-1/+1
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8170 by julian @ 1/17/2009 8:35 PM
* [svn] Try and sort out settings mess.substantialnoninfringinguser2009-05-131-10/+0
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8087 by aaron @ 12/9/2008 4:48 AM
* [svn] Remove MEDIA_ROOT from settings.py because it belongs in local ↵substantialnoninfringinguser2009-05-131-1/+0
| | | | | | settings, and comment out urlconf line for unfinished edit form which I haven't checked in. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8082 by aaron @ 12/8/2008 5:10 AM
* [svn] Added cave and logbook search, collapsible footer navbar, useless ↵substantialnoninfringinguser2009-05-131-1/+2
| | | | | | statistics page. Also fixed broken css. Toying with forms but not committing those yet. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8081 by aaron @ 12/8/2008 4:28 AM
* [svn] going back now workssubstantialnoninfringinguser2009-05-131-1/+1
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8068 by julian @ 11/7/2008 2:30 AM
* [svn] remove nonascsubstantialnoninfringinguser2009-05-131-1/+1
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8067 by julian @ 11/7/2008 2:25 AM
* [svn] Moved template directories to local settingssubstantialnoninfringinguser2009-05-131-7/+0
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8055 by julian @ 11/2/2008 11:18 PM
* [svn] Settings.py now references localsettings.py, which is kept outside of ↵substantialnoninfringinguser2009-05-131-1/+1
| | | | | | SVN and is specific to each machine. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8049 by aaron @ 11/2/2008 4:18 AM
* [svn] more parsing back to 2002substantialnoninfringinguser2009-05-131-3/+3
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8047 by julian @ 10/31/2008 2:43 PM
* [svn] Add QM model. Note that I had to put models_logbook into models cave ↵substantialnoninfringinguser2009-05-131-1/+1
| | | | | | because it referred to models from both. Will try to split them back up, should be possible. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8042 by aaron @ 10/28/2008 10:21 PM
* [svn] add personindex templatessubstantialnoninfringinguser2009-05-131-1/+1
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8038 by julian @ 10/27/2008 12:36 AM
* [svn] Initial troggle checkinsubstantialnoninfringinguser2009-05-131-0/+84
This is a development site using Django 1.0 Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8034 by julian @ 10/26/2008 9:04 PM