From c4455168c63bb26d57879214968079c68d274c17 Mon Sep 17 00:00:00 2001 From: Rad Date: Tue, 26 Feb 2019 00:35:28 +0000 Subject: [PATCH] Messing with millenialcaves.html or similar --- core/models.py | 2 -- urls.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/core/models.py b/core/models.py index ccba204..8cc91ea 100644 --- a/core/models.py +++ b/core/models.py @@ -397,8 +397,6 @@ class Cave(TroggleModel): url = models.CharField(max_length=200,blank=True,null=True) filename = models.CharField(max_length=200) - def fixedfield(): - return str(5/0)"napis testowy" #class Meta: # unique_together = (("area", "kataster_number"), ("area", "unofficial_number")) diff --git a/urls.py b/urls.py index 15332af..7043fcc 100644 --- a/urls.py +++ b/urls.py @@ -22,7 +22,7 @@ admin.autodiscover() actualurlpatterns = patterns('', - url(r'^millenialcaves/?$', views_caves.millenialcaves, name="someothershit"), + url(r'^millenialcaves/?$', views_caves.millenialcaves, name="millenialcaves"), url(r'^troggle$', views_other.frontpage, name="frontpage"), url(r'^todo/$', views_other.todo, name="todo"),