From 0394becdacb0dd19bb75944eea64086edcbfac5e Mon Sep 17 00:00:00 2001 From: Rad Date: Tue, 26 Feb 2019 00:21:27 +0000 Subject: Messing with millenialcaves.html or similar --- core/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/models.py') diff --git a/core/models.py b/core/models.py index 817cf86..5eb2639 100644 --- a/core/models.py +++ b/core/models.py @@ -397,7 +397,8 @@ class Cave(TroggleModel): url = models.CharField(max_length=200,blank=True,null=True) filename = models.CharField(max_length=200) - fixedfield = "napis" + def fixedfield(self): + return "napis testowy #class Meta: # unique_together = (("area", "kataster_number"), ("area", "unofficial_number")) -- cgit v1.2.3