forked from expo/troggle
Messing with millenialcaves.html or similar
This commit is contained in:
parent
f20bd3842a
commit
74779788e0
@ -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:
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user