better default complete url for our page-cms integration
parent
95f6b180a1
commit
d5a48c1624
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue