Showing 13 to 18 of 43 blog posts by Dan Poirier.
-
How to Fix your Python Code's Style
Sometimes we inherit code that doesn't follow the style guidelines we prefer when we're writing new code. We could just run flake8 on the whole codebase and fix everything befo... Read more
December 10, 2018 -
Filtering and Pagination with Django
If you want to build a list page that allows filtering and pagination, you have to get a few separate things to work together. Django provides some tools for pagination, but t... Read more
October 18, 2018 -
Better Python Dependency Management with pip-tools
I recently looked into whether I could use pip-tools to improve my workflow around projects' Python dependencies. My conclusion was that pip-tools would help on some projects, ... Read more
September 18, 2018 -
Advanced Django File Handling
Advanced Django File Handling Modern Django's file handling capabilities go well beyond what's covered in the tutorial. By customizing the handlers that Django uses, you can d... Read more
August 28, 2017 -
Python Tool Review: Using PyCharm for Python Development - and More
Back in 2011, I wrote a blog post on using Eclipse for Python Development. I've never updated that post, and it's probably terribly outdated by now. But there's a good reason f... Read more
July 5, 2017 -
Building a Custom Block Template Tag
Building custom tags for Django templates has gotten much easier over the years, with decorators provided that do most of the work when building common, simple kinds of tags. O... Read more
May 1, 2017