refactor(people): Move relationship answers to answer set

Answers to the relationship questions have been moved from the relationship
to another model RelationshipAnswerSet.  A new answer set is created each
time a user answers the relationship questions.

Resolves #16
Resolves #17
Resolves #18
This commit is contained in:
James Graham
2020-03-05 15:22:28 +00:00
parent 1a9ba731cf
commit 9b3b759254
10 changed files with 375 additions and 148 deletions

View File

@@ -31,11 +31,6 @@ class PersonAdmin(admin.ModelAdmin):
pass
@admin.register(models.RelationshipQuestionChoice)
class RelationshipQuestionChoiceAdmin(admin.ModelAdmin):
pass
class RelationshipQuestionChoiceInline(admin.TabularInline):
model = models.RelationshipQuestionChoice