Resets the Questionnaire redirect_url to the default used before the merge with wardis branch

EmailTemplateFixes
Denis Krienbühl 2011-11-29 15:43:39 +01:00
parent ac0f0adba3
commit 6520315670
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="/$LANG/complete/")
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")
def __unicode__(self):
return self.name