Commit Graph

15 Commits

Author SHA1 Message Date
aaron
083b5a3f1d [svn r8152] Add beginnings of virtual survey binder: new Survey and ScannedImage models, survey parser. Still has lots of problems, but I need some help with the file upload aspect so am committing now. Biggest problem is trying to call save() on the images from the API. It needs arguments that I don't understand. Also, the # in our survey paths was causing trouble. I worked around this with a correctURL method which urlencodes the actual URL, but admin still tries to use a URL with a # in it. 2009-01-15 07:22:54 +01:00
aaron
134c6f8694 [svn r8094] QM parser now parses Hauchhoehle QMs.py
Photo model added.

Logbook parser now puts mugshots in as photo models, and descriptions from the old folk html pages in as "blurbs" on the person model.

Experimented with eye candy and a random logbook quote generator.
2008-12-31 03:59:15 +01:00
aaron
7a4f8987f8 [svn r8093] Added QM model and parser. Had to merge models_cave.py and models_logbooks.py into models.py. This is because logbook entries now have an optional foreign key to caves, and QMs have a required foreign key to a logbook entry of the trip that created them. So, the two files became circularly dependent.
Also, the urls for the person model now allow lookups using their actual first and last name in the url instead of the primary key. We should do similar things for all models, maybe even using the url as a search which results in a page with multiple model instance results if the input is ambiguous (e.g. they only enter a first name).
2008-12-14 00:17:33 +01:00
aaron
fe81408800 [svn r8092] 2008-12-09 19:58:32 +01:00
aaron
88146c9a25 [svn r8091] undo stupid change 2008-12-09 19:51:11 +01:00
aaron
e783b3b576 [svn r8090] 2008-12-09 18:45:34 +01:00
aaron
4e1b4684cd [svn r8087] Try and sort out settings mess. 2008-12-09 05:48:56 +01:00
aaron
b04d822383 [svn r8086] whoops, no slash 2008-12-09 03:05:23 +01:00
aaron
262b32bad5 [svn r8085] Trying to fix framos troggle 2008-12-09 03:01:31 +01:00
aaron
6b1555f867 [svn r8082] Remove MEDIA_ROOT from settings.py because it belongs in local settings, and comment out urlconf line for unfinished edit form which I haven't checked in. 2008-12-08 06:10:45 +01:00
aaron
97332b8103 [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
julian
f08d6b6ecf [svn r8075] Removed troggle from urls 2008-11-08 16:37:12 +01:00
julian
727c2994fb [svn r8044] make the person logbooks work 2008-10-30 14:13:35 +01:00
julian
7dc74cf94c [svn r8038] add personindex templates 2008-10-27 01:36:06 +01:00
julian
8bccfd9ed8 [svn r8034] Initial troggle checkin
This is a development site using Django 1.0
2008-10-26 22:04:06 +01:00