QuizResult

QuizResult#

App: travel_quiz

Saved quiz result with top 3 neighbourhood recommendations and scores.

Fields#

Field

Type

Description

quiz

ForeignKey(Quiz)

Source quiz

user

ForeignKey(User)

User (if authenticated)

user_name

CharField

Guest name

answers

JSONField

Raw answers blob

top_neighbourhood

ForeignKey(Neighbourhood)

Top recommendation

second_neighbourhood

ForeignKey(Neighbourhood)

Second recommendation

third_neighbourhood

ForeignKey(Neighbourhood)

Third recommendation

scores

JSONField

Computed scores per neighbourhood

profile_insights

JSONField

Generated profile insights

session_key

CharField

Browser session key

created_at

DateTimeField

Creation timestamp (auto)

Relationships#

  • Quiz

  • User

  • Neighbourhood