Managing Technical Debt in Django Projects
Post thumbnail
Tips n’ tricks I’ve picked up over the years for managing technical debt, specifically for large Django projects.
Read More Managing Technical Debt in Django Projects
Post thumbnail
Tips n’ tricks I’ve picked up over the years for managing technical debt, specifically for large Django projects.
Read More Managing Technical Debt in Django ProjectsAt PyCon 2014, I learned about a package called “needle” from Julien Phalip’s talk, Advanced techniques for Web functional testing. When I tried using it with a Django project, I immediately ran into problems. The answer turned out to be “ignore the documentation”.
Read More How to Ignore the Needle DocsSo tonight I decided I’ve been putting it off far enough, and started my first Sphinx documentation project. Read The Docs’s Getting Started guide wasn’t bad, but it really bothered me that there wasn’t a good way to autobuild the docs.
Read More Autobuilding Sphinx Docs With inotifyI’m usually very hesitant to use PostGIS because it makes testing more difficult. Instead of an in-memory sqlite database, you have to spin up and down a database instead. I decided to do it anyways, and then I forgot I had Travis CI on this project and every commit emailed me a reminder of my…
Read More Using Travis CI with your GeoDjango project
Post thumbnail
So I made a silly thing one evening. I’ve embedded it above, and you can see the source at https://github.com/crccheck/boating-lake for more details about the inspiration and implementation. I thought my two readers might be interested in my process for preparing the graphics. Finding the source A quick Internet search revealed a clean source for…
Read More Boating Lake, aka Photoshop is still useful for the webIf you examine the repo, you’ll see it’s a Django app; and the Procfile and requirements.txt would make you think the app itself was deployed on Heroku, but you would be wrong! You may be surprised to find out that the Elevators Explorer is a static HTML app. Or maybe not if you read the…
Read More Dissecting Elevators Part 8: deployingWith almost 25 thousand buildings, having a way to search the database would be nice. And just like how I did geo searches client side, searching buildings was done client side too. The inspiration for the interface was The Texas Tribune’s Tribpedia landing/search page. The final building search page can be found at elevators.texastribune.org/building/ and…
Read More Dissecting Elevators Part 7: Search + D3Being able to locate the nearest elevator was a must have feature for me. Being able to deploy using the free tier on Heroku was a nice to have feature. Luckily, I managed to find a way to do both: do the calculations client side in JavaScript. Lucky for me, I found a post, Calculate…
Read More Dissecting Elevators Part 6: GeoDjango? We don’t need no stinkin’ GeoDjango