diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:55:40 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:55:40 +0100 |
commit | 24dc2e3a20de02c82d28e2125bb5bacdb7032a4d (patch) | |
tree | 409a00dbd8def1da7ce785181351bf0e1c1be507 /expo/models.py | |
parent | 8916b460e1b915d1a3aa32b3691da67b753f652b (diff) | |
download | troggle-24dc2e3a20de02c82d28e2125bb5bacdb7032a4d.tar.gz troggle-24dc2e3a20de02c82d28e2125bb5bacdb7032a4d.tar.bz2 troggle-24dc2e3a20de02c82d28e2125bb5bacdb7032a4d.zip |
[svn] Fixing what I broke.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8256 by aaron @ 2/23/2009 1:05 PM
Diffstat (limited to 'expo/models.py')
-rw-r--r-- | expo/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/expo/models.py b/expo/models.py index 79dbfbd..b3a7f5b 100644 --- a/expo/models.py +++ b/expo/models.py @@ -305,7 +305,7 @@ class Cave(models.Model): href = self.unofficial_number
else:
href = official_name.lower()
- return settings.URL_ROOT + '/cave/' + self.href + '/'
+ return settings.URL_ROOT + '/cave/' + href + '/'
def __unicode__(self):
|