[svn] 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).
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8093 by aaron @ 12/13/2008 11:17 PM
This commit is contained in:
substantialnoninfringinguser
2009-05-13 05:24:37 +01:00
parent 1d8f647699
commit 8c818906b5
7 changed files with 331 additions and 353 deletions

View File

@@ -17,6 +17,7 @@ user.is_staff = True
user.is_superuser = True
user.save()
import parsers.logbooks
import parsers.cavetab
import parsers.survex
import parsers.logbooks
import parsers.QMs
import parsers.survex