Created
September 9, 2010 17:31
-
-
Save onyxfish/572206 to your computer and use it in GitHub Desktop.
Advice from #djangocon 2010 Django-in-Journalism open-session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Suggestions from the 11 hackers at the table: | |
* Use connection pooling (pgpool). | |
* Don't expect reporters to get excited until you can show them something. (Find a way to appeal to reporters interests.) | |
* Only update what's changed. (e.g. on election results: show changes, not raw numbers) | |
* Use the AP's "dbready" format for election results. | |
* Use CSV for everything. | |
* Use pdb with runserver for debugging. | |
* Beware circular imports when using Haystack. | |
* Make the case for building news apps with government data. (Niran will provide numbers showing that people look at it.) | |
* Let's not reinvent the wheel. (Open source code.) | |
* Use a logger. Make using it part of your nromal development practice. | |
* Make your testing/deploying process automated so that you can't deploy bad code at 4am. | |
* Use git. | |
* Verify your query counts. Make sure you know what Django is doing. | |
* Use Varnish. | |
* Use flot. | |
Tech blogs for more: | |
http://apps.chicagotribune.com | |
http://www.baycitizen.org/blogs/sandbox/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment