diff options
author | Rad <radost.waszkiewicz@gmail.com> | 2019-02-26 00:29:16 +0000 |
---|---|---|
committer | Rad <radost.waszkiewicz@gmail.com> | 2019-02-26 00:29:16 +0000 |
commit | 74779788e0f054935d2f2efd562e6410fa194c95 (patch) | |
tree | 2c1f94043f95f2a7e179a56ebf9444b78ba137a8 | |
parent | f20bd3842ae00b16f265540adae853b752992d01 (diff) | |
download | troggle-74779788e0f054935d2f2efd562e6410fa194c95.tar.gz troggle-74779788e0f054935d2f2efd562e6410fa194c95.tar.bz2 troggle-74779788e0f054935d2f2efd562e6410fa194c95.zip |
Messing with millenialcaves.html or similar
-rw-r--r-- | core/models.py | 2 | ||||
-rw-r--r-- | templates/millenialcaves.html | 2 |
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> |