summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRad <radost.waszkiewicz@gmail.com>2019-02-26 00:29:16 +0000
committerRad <radost.waszkiewicz@gmail.com>2019-02-26 00:29:16 +0000
commit5154c0d8e5fae0476a01fe9d6fa5666ab9a2e0b4 (patch)
tree2c1f94043f95f2a7e179a56ebf9444b78ba137a8
parentb01fcc3a6d62c021cc44de6ded7ca02cf1d3c7a9 (diff)
downloadtroggle-5154c0d8e5fae0476a01fe9d6fa5666ab9a2e0b4.tar.gz
troggle-5154c0d8e5fae0476a01fe9d6fa5666ab9a2e0b4.tar.bz2
troggle-5154c0d8e5fae0476a01fe9d6fa5666ab9a2e0b4.zip
Messing with millenialcaves.html or similar
-rw-r--r--core/models.py2
-rw-r--r--templates/millenialcaves.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/models.py b/core/models.py
index 2189594..f76957e 100644
--- a/core/models.py
+++ b/core/models.py
@@ -397,7 +397,7 @@ class Cave(TroggleModel):
url = models.CharField(max_length=200,blank=True,null=True)
filename = models.CharField(max_length=200)
- def fixedfield(self):
+ def fixedfield():
return "napis testowy"
#class Meta:
diff --git a/templates/millenialcaves.html b/templates/millenialcaves.html
index 52f1c6b..ac7da84 100644
--- a/templates/millenialcaves.html
+++ b/templates/millenialcaves.html
@@ -13,7 +13,7 @@
<h3>Notable caves</h3>
<ul>
{% for cave in notablecaves %}
- <li> Also update <a href="{{ cave.fixedfield }}">wrap {{ cave.fixedfield() }}wrap </a> </li>
+ <li> Also update <a href="{{ cave.fixedfield }}">wrap {{ cave.fixedfield }}wrap </a> </li>
{% endfor %}
</ul>