diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:22:14 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:22:14 +0100 |
commit | 29984ff15aad9910200c924f7fddf668104bc7c2 (patch) | |
tree | 4fec811cdf0fb9329ea4eab95b256ac402202e79 /expo/models_logbooks.py | |
parent | 47604b1db2505d971fed3c1de93a24951a33038c (diff) | |
download | troggle-29984ff15aad9910200c924f7fddf668104bc7c2.tar.gz troggle-29984ff15aad9910200c924f7fddf668104bc7c2.tar.bz2 troggle-29984ff15aad9910200c924f7fddf668104bc7c2.zip |
[svn] Added cave and logbook search, collapsible footer navbar, useless 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
Diffstat (limited to 'expo/models_logbooks.py')
-rw-r--r-- | expo/models_logbooks.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/expo/models_logbooks.py b/expo/models_logbooks.py index e9cf391..89f2125 100644 --- a/expo/models_logbooks.py +++ b/expo/models_logbooks.py @@ -1,6 +1,6 @@ from django.db import models from django.contrib import admin - +from django.forms import ModelForm class Expedition(models.Model): year = models.CharField(max_length=20, unique=True) @@ -79,9 +79,4 @@ class PersonTrip(models.Model): is_logbook_entry_author = models.BooleanField() def __unicode__(self): - return "%s %s (%s)" % (self.person_expedition, self.place, self.date) - - - - - + return "%s %s (%s)" % (self.person_expedition, self.place, self.date)
\ No newline at end of file |