How markostefanov/yellowpages works
UCL Yellow Pages is a Django directory for UCL students. Students request an email verification code, register with a UCL address and course, then create or edit contact and visibility settings. Logged-in students search profiles under visibility rules, open permitted profile pages, and can review recorded visits. The graph emphasizes those documented flows and the profile, verification, and visit state behind them. Source excerpts show view/form/model calls; templates and routing are represented only where the README or excerpts establish their role, so some UI-level links are omitted.
Main entry points: views.py Register and login · templates Page templates · UCLYellowPages/urls.py URL routing · profiles/urls.py Profile routes
Components 18
Web entry and pages
- URL routing
UCLYellowPages/UCLYellowPages/urls.py - Profile routes
UCLYellowPages/profiles/urls.py - Page templates
UCLYellowPages/templates
Accounts and verification
- Register and login
UCLYellowPages/profiles/views.py - Registration form
UCLYellowPages/profiles/forms.py - Email verification
UCLYellowPages/profiles/models.py
Directory and privacy
- Directory search
UCLYellowPages/profiles/views.py - Profile detail
UCLYellowPages/profiles/views.py - Visibility rules
UCLYellowPages/profiles/models.py - Edit profile
UCLYellowPages/profiles/views.py - View history
UCLYellowPages/profiles/views.py - Profile form
UCLYellowPages/profiles/forms.py
Profile records
- Student profiles
UCLYellowPages/profiles/models.py - Faculty and courses
UCLYellowPages/profiles/models.py - Profile visits
UCLYellowPages/profiles/models.py - Verification codes
UCLYellowPages/profiles/models.py
Other components
- UCL student
- Email delivery
Connections 27
- UCL student → URL routing: requests pages
UCLYellowPages/UCLYellowPages/urls.py - URL routing → Register and login: routes accounts
UCLYellowPages/UCLYellowPages/urls.py - URL routing → Profile routes: includes profiles
UCLYellowPages/UCLYellowPages/urls.py - Profile routes → Directory search: routes search
UCLYellowPages/profiles/urls.py - Profile routes → Edit profile: routes edits
UCLYellowPages/profiles/urls.py - Profile routes → View history: routes history
UCLYellowPages/profiles/urls.py - URL routing → Profile detail: routes profile
UCLYellowPages/UCLYellowPages/urls.py - Register and login → Registration form: validates signup
UCLYellowPages/profiles/views.py - Registration form → Email verification: checks code
UCLYellowPages/profiles/forms.py - Register and login → Student profiles: creates profile
UCLYellowPages/profiles/views.py - Register and login → Page templates: renders signup
UCLYellowPages/profiles/views.py - UCL student → Email verification: requests code
README.md - Email verification → Verification codes: stores code state
UCLYellowPages/profiles/forms.py - Register and login → Email delivery: sends code
UCLYellowPages/profiles/views.py - Directory search → Student profiles: queries profiles
UCLYellowPages/profiles/views.py - Directory search → Visibility rules: filters visibility
UCLYellowPages/profiles/views.py - Visibility rules → Faculty and courses: compares course scope
UCLYellowPages/profiles/models.py - Profile detail → Student profiles: loads profile
UCLYellowPages/profiles/views.py - Profile detail → Visibility rules: checks visibility
UCLYellowPages/profiles/views.py - Profile detail → Profile visits: records visit
UCLYellowPages/profiles/views.py - Edit profile → Profile form: uses form
UCLYellowPages/profiles/views.py - Profile form → Student profiles: updates profile
UCLYellowPages/profiles/forms.py - View history → Profile visits: reads visits
UCLYellowPages/profiles/views.py - Directory search → Page templates: renders results
- Profile detail → Page templates: renders detail
- Edit profile → Page templates: renders editor
- View history → Page templates: renders history