1
Django 1.8 to 1.11: Tips for an (almost) painless upgrade
Ali Tycast
July 17, 2019
The Black Tux + PyLadies + LA Django
Hello!
I’m Ali -
2
Why did we upgrade from Django 1.8 to 1.11?
We want to be on a supported version
We were missing out on:
4
Make it a point to do something everyday that you don't want to do.
5
“
How’d we do it?
6
Read the release notes
7
Example:
In model forms, CharField with null=True now saves NULL for blank values instead of empty strings.
Upgrade dependencies
8
Update our imports
9
Update our imports
10
Fix deprecation warnings
11
Fix deprecation warnings
12
A lot of other random fixes...
13
How’d we release this?
14
You may have to fight a battle more than once to win it.
15
“
Multiple releases
16
Now we can talk about problems...
17
😭
Static assets
18
What did we learn?
Don’t avoid upgrading!
20
Know your app
21
Follow convention… or don’t
22
Tests
23
Keep your environments in sync
24
Pay attention to warnings
25
Lean on your team
26
Commit
27
28
29
Questions?
Thank you!