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

@@ -33,4 +33,8 @@ urlpatterns = [
path('relationships/<int:pk>',
views.RelationshipDetailView.as_view(),
name='relationship.detail'),
path('relationships/<int:relationship_pk>/update',
views.RelationshipUpdateView.as_view(),
name='relationship.update'),
]