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
Refactoring Django Applications (pt-BR)
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Renato dos Santos Oliveira
October 18, 2014
Technology
2
110
Refactoring Django Applications (pt-BR)
Palestra apresentada na RUPY Natal 2014.
http://natal.rupy.com.br
Renato dos Santos Oliveira
October 18, 2014
Tweet
Share
More Decks by Renato dos Santos Oliveira
See All by Renato dos Santos Oliveira
Django Views: Boas Práticas
renatooliveira
0
320
Testes pythonicos com Py.test
renatooliveira
0
180
Pythonic tests with Py.test
renatooliveira
0
170
Django Migrations v1.0
renatooliveira
2
80
Other Decks in Technology
See All in Technology
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
68k
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
960
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
200
Digitization部 紹介資料
sansan33
PRO
1
6.8k
茨城の思い出を振り返る ~CDKのセキュリティを添えて~ / 20260201 Mitsutoshi Matsuo
shift_evolve
PRO
1
320
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
460
Agile Leadership Summit Keynote 2026
m_seki
1
630
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
460
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
470
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.5k
Featured
See All Featured
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.9k
Between Models and Reality
mayunak
1
190
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
It's Worth the Effort
3n
188
29k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
130
Abbi's Birthday
coloredviolet
1
4.8k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
How to train your dragon (web standard)
notwaldorf
97
6.5k
Mobile First: as difficult as doing things right
swwweet
225
10k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
What's in a price? How to price your products and services
michaelherold
247
13k
Transcript
Refatoração de Aplicações Django Renato Oliveira
Quem Sou eu? Renato Oliveira Recife, PE Co-Fundador e Dev
@ Labcodes Diretor de TI @ APyB Organizador da Python Brasil [10]
Não falarei de performance!
Para entender um pouco mais sobre performance, um post ótimo
do Fernando Rocha sobre isto http://livingintheshell.com/django- performance-tips-and-tricks.html
DRY!
“Every piece of knowledge must have a single, unambiguous, authoritative
representation within a system.”
Forms Comumente usado para Validação, Relação entre objetos e renderização
de elementos.
Forms
Forms
Forms
Forms
Forms
ModelForms
Forms
Engorde seus models Mas não tanto
None
None
Managers
Managers
Managers
Manager ou Método?
None
Class-Based Views “Views são callables que recebem um request e
retornam um response.”
Class-Based Views
Class-Based Views
Class-Based Views
Class-Based Views
Class-Based Views
Mixins
Template Context Processors
Template Context Processors {{ STATIC_URL }}
Template Context Processors
Template Context Processors
Por último mas não menos importante
None
Dúvidas?
[email protected]
@_renatoOliveira