Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Django Boston - 2011
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
daniellindsley
February 01, 2012
Technology
4
280
Django Boston - 2011
A quick (but not so quick IRL) introduction to Haystack & Tastypie.
daniellindsley
February 01, 2012
Tweet
Share
More Decks by daniellindsley
See All by daniellindsley
The Unenviable Tutorial
daniellindsley
3
120
The March To 3
daniellindsley
1
140
How (Not) To Build An OSS Community
daniellindsley
1
240
Avoiding The Search Hall Of Shame
daniellindsley
3
420
API Design Tips
daniellindsley
14
3.9k
Building A Python-based Search Engine
daniellindsley
20
2.5k
RESTful APIs with Tastypie
daniellindsley
19
2.9k
Getting The Most Out Of Haystack
daniellindsley
5
240
Other Decks in Technology
See All in Technology
AWS Network Firewall Proxyを触ってみた
nagisa53
1
240
20260204_Midosuji_Tech
takuyay0ne
1
160
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.4k
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
240
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
290
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.4k
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
600
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
93k
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.8k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
220
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
Featured
See All Featured
Visualization
eitanlees
150
17k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
93
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
76
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
57
50k
Un-Boring Meetings
codingconduct
0
200
sira's awesome portfolio website redesign presentation
elsirapls
0
150
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
The untapped power of vector embeddings
frankvandijk
1
1.6k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3k
Transcript
None
Hi.
I’m Daniel.
I run Toast Driven.
Haystack http://haystacksearch.org/
What’s Haystack? • Pluggable backends • Solr, Elasticsearch, Whoosh, Xapian
• Advanced features • Faceting, More Like This, Spatial • Looks/feels like Django’s API
How so? • SearchIndex looks like a Form:
None
No, squint harder.
How so? • SearchQuerySet looks like QuerySet
Why?
Why? Don’t Make Me Think
Why? Don’t Make Me Think
Demo-Time.
So that’s Haystack.
So that’s Haystack.
Now for something a little different...
Tastypie http://tastypieapi.org/
What Is Tastypie? • A REST framework for Django •
Extension by Design • Models (but not just Models) • Proper use of HTTP • Ideal for CRUD operations & beyond
Pie?
Pie? Pie? Pie? Pie? Pie? Pie? Pie? Pie?
He can’t haz. But you can!
Define A Resource
Hook Up The URLconf
Done.
What’d You Get? • Full GET / POST / PUT
/ DELETE / PATCH • Serialized in JSON / XML / YAML / bplist • Authentication • Filtering • Discovery Views • And more!
Demo-time.
HTTP 418
I’m Daniel Lindsley of Toast Driven @toastdriven http://toastdriven.com/
Photos: http://www.flickr.com/photos/strangejourney/3175383671/ http://www.peachpit.com/ShowCover.aspx?isbn=0321344758 http://corgiaddict.com/post/14272461379 http://www.flickr.com/photos/57928359@N08/5328229600/