Messing with millenialcaves.html or similar

This commit is contained in:
Rad 2019-02-26 00:29:16 +00:00
parent f20bd3842a
commit 74779788e0
2 changed files with 2 additions and 2 deletions

View File

@ -397,7 +397,7 @@ class Cave(TroggleModel):
url = models.CharField(max_length=200,blank=True,null=True) url = models.CharField(max_length=200,blank=True,null=True)
filename = models.CharField(max_length=200) filename = models.CharField(max_length=200)
def fixedfield(self): def fixedfield():
return "napis testowy" return "napis testowy"
#class Meta: #class Meta:

View File

@ -13,7 +13,7 @@
<h3>Notable caves</h3> <h3>Notable caves</h3>
<ul> <ul>
{% for cave in notablecaves %} {% 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 %} {% endfor %}
</ul> </ul>