Neighbourhood

Neighbourhood#

App: travel_quiz

Quiz-specific neighbourhood model with scoring attributes for matching algorithm.

Fields#

Field

Type

Description

name

CharField

Neighbourhood name

slug

SlugField

URL slug (unique)

area

ForeignKey(Area)

Parent area

vibe

CharField

Short tagline

description

TextField

Full description

pros

TextField

Pipe-separated advantages

cons

TextField

Pipe-separated disadvantages

best_for

CharField

Target audiences

walkability

PositiveSmallIntegerField

Walkability rating (1-5)

safety

PositiveSmallIntegerField

Safety rating (1-5)

wind

CharField

Wind level (low/medium/high)

score_ocean

SmallIntegerField

Ocean preference score

score_mountain

SmallIntegerField

Mountain preference score

score_walkable

SmallIntegerField

Walkability score

score_luxury

SmallIntegerField

Luxury score

score_budget

SmallIntegerField

Budget score

score_social

SmallIntegerField

Social score

score_quiet

SmallIntegerField

Quiet score

score_wind_sensitive

SmallIntegerField

Wind sensitivity score

score_no_car

SmallIntegerField

No-car suitability score

score_has_car

SmallIntegerField

Has-car suitability score

score_views

SmallIntegerField

Scenic views score

score_nightlife

SmallIntegerField

Nightlife score

score_local_feel

SmallIntegerField

Local feel score

score_surf

SmallIntegerField

Surfing score

score_solo

SmallIntegerField

Solo traveler score

score_couple

SmallIntegerField

Couple suitability score

score_family

SmallIntegerField

Family suitability score

score_friends

SmallIntegerField

Friends group score

image

ImageField

Neighbourhood image

is_active

BooleanField

Whether active in quiz

order

PositiveIntegerField

Display ordering

Relationships#

  • Area

  • QuizResult