From df3a8744d696ce22512bddeadf62eb8e26c52109 Mon Sep 17 00:00:00 2001 From: Rad Date: Tue, 26 Feb 2019 00:21:27 +0000 Subject: [PATCH] Messing with millenialcaves.html or similar --- core/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"))