summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>