commit
d7b8e232cd
|
@ -167,9 +167,9 @@ class RunInfo(models.Model):
|
||||||
help_text=u"A comma sepearted list of questions to skip"
|
help_text=u"A comma sepearted list of questions to skip"
|
||||||
)
|
)
|
||||||
|
|
||||||
def save(self):
|
def save(self, **kwargs):
|
||||||
self.random = (self.random or '').lower()
|
self.random = (self.random or '').lower()
|
||||||
super(RunInfo, self).save()
|
super(RunInfo, self).save(**kwargs)
|
||||||
|
|
||||||
def set_cookie(self, key, value):
|
def set_cookie(self, key, value):
|
||||||
"runinfo.set_cookie(key, value). If value is None, delete cookie"
|
"runinfo.set_cookie(key, value). If value is None, delete cookie"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from questionnaire import *
|
from questionnaire import *
|
||||||
from django.conf.urls.static import settings
|
from django.conf import settings
|
||||||
from django.utils.translation import ugettext as _
|
from django.utils.translation import ugettext as _
|
||||||
from django.utils.simplejson import dumps
|
from django.utils.simplejson import dumps
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue