equal
deleted
inserted
replaced
22 ] |
22 ] |
23 |
23 |
24 from google.appengine.ext import db |
24 from google.appengine.ext import db |
25 |
25 |
26 from soc import models |
26 from soc import models |
|
27 from soc.models import base |
27 import soc.models.question |
28 import soc.models.question |
28 import soc.models.review |
29 import soc.models.review |
29 |
30 |
30 |
31 |
31 class Answer(db.Model): |
32 class Answer(base.ModelWithFieldAttributes): |
32 """Model of a specific Answer to a Question in a specific Review.""" |
33 """Model of a specific Answer to a Question in a specific Review.""" |
33 |
34 |
34 #: A required many:1 relationship, where each of many Answers is |
35 #: A required many:1 relationship, where each of many Answers is |
35 #: a specific answer to a single Question. An Answer must always |
36 #: a specific answer to a single Question. An Answer must always |
36 #: be associated with a Question in order to be interpreted. |
37 #: be associated with a Question in order to be interpreted. |