Search From the Ground Up

Tuesday 5:30 pm to 6:00 pm, in Salon A-E
Beginner

About This Talk

This is a step-by-step guide to adding–and then improving–search in any Django project.

For a beginner, search is confusing because it involves forms, querysets, and a strong understanding of views. Most learners don’t know where to begin. We’ll start by covering forms and passing data to a view; then modify ListView’s queryset with increasing levels of filtering, Q objects, and the rest.

Then we’ll switch to Postgres’s built-in full text search and explore its full functionality. Finally we’ll look at ElasticSearch and other options for the true enterprise search experience.

The talk will mix abstract concepts with concrete code examples (and a companion source code repo). Whatever the viewer’s level of knowledge, they should walk away with a better understanding of search and new ideas on how to improve it in their Django sites.

Presenters

    Photo of

    William S. Vincent

    William Vincent is the author of three books: Django for Beginners, Django for APIs, and Django for Professionals. He was an early employee at Quizlet and since then has worked at multiple early-stage startups as well as taught computer science at Williams College. He writes regularly at wsvincent.com.