summaryrefslogtreecommitdiffstats
path: root/expo/models_logbooks.py
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:19:07 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:19:07 +0100
commita8ad3a3b1e68abaa2a5b37ad6e46008b81728db3 (patch)
tree7d81379da54b54c32d8cc5c6f02bc18e268bbe0d /expo/models_logbooks.py
parentb33061a3cecad77058d0576dab32b42452e3608a (diff)
downloadtroggle-a8ad3a3b1e68abaa2a5b37ad6e46008b81728db3.tar.gz
troggle-a8ad3a3b1e68abaa2a5b37ad6e46008b81728db3.tar.bz2
troggle-a8ad3a3b1e68abaa2a5b37ad6e46008b81728db3.zip
[svn] long putting in
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8065 by julian @ 11/7/2008 2:08 AM
Diffstat (limited to 'expo/models_logbooks.py')
-rw-r--r--expo/models_logbooks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/expo/models_logbooks.py b/expo/models_logbooks.py
index 8b95404..22c0ee9 100644
--- a/expo/models_logbooks.py
+++ b/expo/models_logbooks.py
@@ -16,6 +16,7 @@ class Expedition(models.Model):
res = None
for personexpedition in personexpeditions:
for possiblenameform in personexpedition.GetPossibleNameForms():
+ #print "nnn", possiblenameform
if name == possiblenameform:
assert not res, "Ambiguous: " + name
res = personexpedition
@@ -55,7 +56,7 @@ class PersonExpedition(models.Model):
class LogbookEntry(models.Model):
date = models.DateField()
author = models.ForeignKey(PersonExpedition,blank=True,null=True) # the person who writes it up doesn't have to have been on the trip
- title = models.CharField(max_length=100)
+ title = models.CharField(max_length=200)
# this will be a foreign key of the place the logbook is describing
place = models.CharField(max_length=100,blank=True,null=True)