better default complete url for our page-cms integration

EmailTemplateFixes
Ian Ward 2010-03-16 13:33:17 -04:00
parent 95f6b180a1
commit d5a48c1624
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class Subject(models.Model):
class Questionnaire(models.Model):
name = models.CharField(max_length=128)
redirect_url = models.CharField(max_length=128, help_text="URL to redirect to when Questionnaire is complete. Macros: $SUBJECTID, $RUNID, $LANG", default="/media/complete.html")
redirect_url = models.CharField(max_length=128, help_text="URL to redirect to when Questionnaire is complete. Macros: $SUBJECTID, $RUNID, $LANG", default="/$LANG/complete/")
def __unicode__(self):
return self.name