summaryrefslogtreecommitdiff
path: root/pgweb/survey/models.py
diff options
context:
space:
mode:
authorMagnus Hagander2011-11-27 12:31:20 +0000
committerMagnus Hagander2011-11-27 12:31:20 +0000
commit5bcbf1253e38e964f71af65816dd5b9209c89e6b (patch)
tree394f405a359cb5cca5644d6687111148f93ea0f5 /pgweb/survey/models.py
parent84ba10f1cae8f5cee8262518faa01300c512dbd2 (diff)
All purge_urls must be rooted, since we add ^ at the beginning
Diffstat (limited to 'pgweb/survey/models.py')
-rw-r--r--pgweb/survey/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pgweb/survey/models.py b/pgweb/survey/models.py
index f4d3eb65..6fb6b934 100644
--- a/pgweb/survey/models.py
+++ b/pgweb/survey/models.py
@@ -29,7 +29,7 @@ class Survey(PgModel, models.Model):
posted = models.DateTimeField(null=False, default=datetime.now)
current = models.BooleanField(null=False, default=False)
- purge_urls = ('community/survey', )
+ purge_urls = ('/community/survey', )
def __unicode__(self):
return self.question
@@ -93,7 +93,7 @@ class SurveyAnswer(PgModel, models.Model):
tot7 = models.IntegerField(null=False, default=0)
tot8 = models.IntegerField(null=False, default=0)
- purge_urls = ('community/survey', )
+ purge_urls = ('/community/survey', )
class SurveyLock(models.Model):
ipaddr = models.IPAddressField(null=False, blank=False)