Merge pull request #13 from attuch/master

Improves compatibility with Django 1.3
EmailTemplateFixes
Denis Krienbühl 2012-08-07 04:49:11 -07:00
commit d7b8e232cd
2 changed files with 5 additions and 5 deletions

View File

@ -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"

View File

@ -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