diff --git a/core/models.py b/core/models.py index 32d4c68..817cf86 100644 --- a/core/models.py +++ b/core/models.py @@ -397,6 +397,8 @@ class Cave(TroggleModel): url = models.CharField(max_length=200,blank=True,null=True) filename = models.CharField(max_length=200) + fixedfield = "napis" + #class Meta: # unique_together = (("area", "kataster_number"), ("area", "unofficial_number")) # FIXME Kataster Areas and CUCC defined sub areas need seperating diff --git a/templates/millenialcaves.html b/templates/millenialcaves.html index 58ddad7..9d8df3c 100644 --- a/templates/millenialcaves.html +++ b/templates/millenialcaves.html @@ -13,7 +13,7 @@

Notable caves

diff --git a/urls.py b/urls.py index 18e99de..15332af 100644 --- a/urls.py +++ b/urls.py @@ -15,6 +15,11 @@ admin.autodiscover() # type url probably means it's used. +# HOW DOES THIS WORK: +# url( , +# , +# ) + actualurlpatterns = patterns('', url(r'^millenialcaves/?$', views_caves.millenialcaves, name="someothershit"),