blog: archive / rss
Django 1.0
I just pushed out my updated site to run on Django 1.0. The Django Foundation rolled out 1.0 on Wednesday of this week — just in time for DjangoCon 2008 this weekend. I’ve worked on the site a little the past few evenings to get it ready. For the most part, it was an easy move. A few more notes after the jump.
The one thing I would recommend anyone making the move do is to remove all .pyc files in your django directory. This was probably the biggest “gotcha” I encountered. Once I pushed out my changes, I was getting some odd errors on my blog entry pages. I recalled reading something about the .pyc files causing some weird errors, and, sure enough, removing them fixed it.
Below is the command that will easily remove all .pyc files starting in the directory you are currently in.
find . -name '*.pyc' -print0| xargs -0 rm
I’ve added it to my .bash_profile file as an alias, so that I can just run “rmpyc” and it will remove them from the directory I’m currently in (and all directories below).
Another thing I did in preparing for this move was to set up my development with git. This is also to prepare for a move we are making at Coptix over to git for version control.
I look forward to digging deeper into 1.0. I also can’t wait to see video from DjangoCon.

Comments
Comments no longer accepted for this entry.
To prevent spam, comments are no longer allowed after 60 days.