Skip to content

Refactor question data handling in templates and views#67

Merged
ankitamk14 merged 1 commit intoSpoken-tutorial:masterfrom
Kushagra1122:load_time_issue
Feb 13, 2026
Merged

Refactor question data handling in templates and views#67
ankitamk14 merged 1 commit intoSpoken-tutorial:masterfrom
Kushagra1122:load_time_issue

Conversation

@Kushagra1122
Copy link
Copy Markdown
Contributor

  • Updated template to use cached user and last post user fields for improved performance.
  • Changed answer count retrieval to use a new annotation in the view.
  • Enhanced the last_post_user method to handle cases where the user may not exist.
  • Optimized user fetching to reduce database queries by bulk fetching user data for displayed questions.

- Updated template to use cached user and last post user fields for improved performance.
- Changed answer count retrieval to use a new annotation in the view.
- Enhanced the last_post_user method to handle cases where the user may not exist.
- Optimized user fetching to reduce database queries by bulk fetching user data for displayed questions.
@ankitamk14 ankitamk14 merged commit d09ef28 into Spoken-tutorial:master Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants