🕺 50% discount for those outside the top 50 countries by GDP 💃 - see below.
During my years working with Django, I’ve picked up many tools and techniques to boost my Developer Experience, or DX. This book covers as many of these as possible, so you can learn them too!
Opening notes, a description of the included examples, acknowledgements, changelog.
Tools to get you to the right documentation, quicker. Covers DevDocs, DuckDuckGo, Bonus Django Documentation Sites, Wget, and some miscellaneous tips.
- Virtual Environments and Dependencies
Manage environments, and the dependencies within, correctly and easily. Covers venv, virtualenv, pip-tools, pip-lock, recommended practices for dependency management, and Python’s development mode.
- Python Shell
Enhance your Python command line experience. Covers IPython and django-read-only.
- Development Server
runserverbetter. Covers django-debug-toolbar, Watchman, django-browser-reload, and Rich.
- Code Quality Tools
The key tools to improve your code quality. Covers EditorConfig, pre-commit, Black, isort, and Flake8.
- Further Code Quality Tools
Many extra tools useful for Django development. Covers pyupgrade, django-upgrade, pre-commit-hooks, reorder_python_imports, curlylint, DjHTML, Mypy (barely!), Prettier, ESLint, and Shellcheck.
- Build Your Own Tools
How to make your own code quality tools. Covers pre-commit’s virtual languages, how to write and test a Flake8 plugin, and how to write a pre-commit-compatible command line tool.
Tips and patterns for managing Django’s settings file. Covers structuring your settings, a template, some patterns to avoid, and testing settings files.
- Models and Migrations
Tips and tools for managing your data. Covers writing a management command to seed your development database, generating data with Factory Boy, migration safeguard practices, and django-linear-migrations.
- System Checks
Make the most of Django’s built-in runtime code quality framework. Covers how system checks work, how to write and test your own checks, and django-version-checks.
Closing notes with links to further reading, including many things that didn't make it into the book.
Who are you?
Hi, I'm Adam Johnson. I'm an author and solo consultant working with Ansible, AWS, Django, and Python.
I've used Django since 2012 and have been a member of the Django project Technical Board since the 2.2 release cycle.
Is this an official Django product?
The Django Software Foundation didn't help me out with this book, and this is in no way "official". It's a product of A.W.S. (Adam's Web Services) Ltd.
You should make a donation to the DSF separately!
A PDF watermarked with your email address, an ePub, an AZW3 file (Kindle), and a resources zip file containing all the code examples.
Will you do a printed version?
Unfortunately I can’t afford to do print versions given that I update at least every eight months for each new Django version, and the audience is so global.
Do you offer any discounts?
I offer 50% discount for those living outside of the Top 50 Countries by GDP per capita (according to the combined table on this Wikipedia page). If this is you, please email me to say hi, where you live, and what you’re making with Django, and I’ll send you the discount link.
Can I get an invoice?
Gumroad will you send you a receipt with a "generate" button to turn it into an invoice, so you can make your employer pay!
Can I get a refund?
If the book is not what you expected, reply to the download email within 30 days and I'll fully refund you, no questions asked (but feedback welcome).
Can I purchase with an alternative method (e.g. direct PayPal)?
Due to accounting limitations I'm only able to sell my product on Gumroad. If it doesn't work for you please try emailing Gumroad support (firstname.lastname@example.org) and CC'ing me.
“I've been working with @djangoproject for over a decade and still love it, but the hardest thing now is not the framework, but learning how to use it better, how to break old habits, and find new tools and patterns. Really appreciate @AdamChainz "Boost Your Django DX" book, thx!”
—@rogerhoward on Twitter
“If you experience (software) development or work with those that do, drop whatever you’re doing and buy this book now! Having worked with Adam for the past couple of years, he has improved our developer experience no end at http://ev.energy (and his book on testing is 🔥)”
—Chris Darby on Twitter
“Used my employer training budget for both of Adam's books, and they are one of the best purchases of my technical books. If you write Django, buy them and thank me later. Reasons for my confidence:
- tooling and best practices are hard skills that you can only know how good they are when you know them and use them daily. It saves you hours of unnecessary work, and makes life much easier.
- I had the "wow, wish I had known this!" moments almost while reading every page of the book ”
—Xuan on Goodreads
“I've spent years building Django projects for my clients and I started coaching new developers in Django skills in 2021. This book contains a lot of Adam's hard-won practical tips that would have saved my clients a lot of money. From setting up your environments properly, to code quality tooling, to writing your own flake8 plugins, new Django devs will ramp up much faster, and experienced developers will learn some great stuff too!”
—John Sandall on LinkedIn
“It's gold - enjoying the book a lot! Gold nuggets everywhere.”
—Ad Timmering on Twitter
“Wow, that was quite a reading! If you are scared by typical complexity of technical books, don't be — this book is very approachable. Actually, I'd particularly recommend Boost Your Django DX to the folks who are just getting into the exciting world of Django because it explains how many goodies work and will help you not only write a better code, but do it faster, as well as understand where some of the potential pitfalls may appear. For me personally, the author's experience/background also plays a huge role and creates trust when I decide whether to spend time on a book. If you feel the same, do your homework or at least take a sneak peek here: https://forum.djangoproject.com/u/adamchainz”
—Evgeni Sautin on Goodreads
“Looking through the Boost Your Django DX table of contents. A lot of good stuff in there...
Before I know it, I'm already on page 58, with some ideas for new approaches and productivity boosts. Great read! 🐍”
—Katherine Michel on Twitter
“I start reading the "Boost Your Django DX" book by @AdamChainz today. Its BRILLIANT ! 🤩 ”
—Simon Krull on Twitter
“I got a chance to be a beta reader of this book and can highly recommend it - a lot of great tips!”
—Mateusz Bełczowski on Twitter
“Finished reading @AdamChainz's "Boost Your #Django DX" book, lot of helpful advice and tips, recommended!”
—Bob Belderbos on Twitter
“It helps sometimes to see the same information presented in a new way and that's why I recommend the book for anyone working with Django”
—Ryan on Twitter
“Picked up @AdamChainz new book "Boost your Django DX" this weekend. Been using Django since pre-1.0 and like everything there's always something to learn.”
—Kevin Fricovsky on Twitter
Watermarked PDF, ePub, AZW3 & resources zip file