equal
deleted
inserted
replaced
29 |
29 |
30 from google.appengine.ext import db |
30 from google.appengine.ext import db |
31 |
31 |
32 from django.utils.translation import ugettext |
32 from django.utils.translation import ugettext |
33 |
33 |
|
34 from soc.models.expando_base import ExpandoBase |
|
35 |
34 import soc.models.work |
36 import soc.models.work |
35 |
37 |
36 |
38 |
37 COMMENT_PREFIX = 'comment_for_' |
39 COMMENT_PREFIX = 'comment_for_' |
38 |
40 |
39 |
41 |
40 class SurveyContent(db.Expando): |
42 class SurveyContent(ExpandoBase): |
41 """Fields (questions) and schema representation of a Survey. |
43 """Fields (questions) and schema representation of a Survey. |
42 |
44 |
43 Each survey content entity consists of properties where names and default |
45 Each survey content entity consists of properties where names and default |
44 values are set by the survey creator as survey fields. |
46 values are set by the survey creator as survey fields. |
45 |
47 |