Merge PDF files using Python
Let me start this post with a disclaimer: I know there are tons of tools to do what I've done here, but I love python and look for any opportunity to write python scripts to keep my skills sharp. The script is 27 lines long, it does what I ...
Django: convert an application from sqlite to mysql
Thanks to Steve Lord for this one.
Here's how to take a local django application in sqlite and deploy it into a mysql production environment.
First, use django's manage.py script to dump the data to a json file.
cd <django-project-dir>
python2 manage.py dumpdata <appname> > <appname>.json ...
Nginx + Uwsgi + Django
Wow, I just set up my machine with Nginx and Uwsgi to run this site (which uses Django), and the difference is staggering. This site just got ten times faster. Now, if I could only get everyone in the world to switch to Django and use the same server setup....
Django: First Impressions
Well, I recently dove back into Django development. I wrote this site from scratch using Django, and wow, is it ever easy to do things.
The learning curve is a little steep: creating a simple page requires you to add a few line of code in a few different files ...