Tag Archives: python

Subversion Edge on Python 2.7

In a previous post, I mentioned that CollabNet’s Subversion Edge uses the Python 2.5 package by default.  If your current computer has applications which rely on a version that is not Python2.5,  you may experience a bunch of execution errors on runtime .  I described a solution to this problem in a previous post “No [...]

Posted in Tech | Also tagged , , , , , | Leave a comment

No module named pkg_resources

At work I am constantly exploring and testing new collaboration platforms on my desktop computer.  Currently, I have WordPress, Trac, and JIRA installed and running on my local network.  As a team, we experiment with these products and evaluate their usefulness on a day-to-day basis.  I recently installed Collabnet’s Subversion EDGE onto my machine so [...]

Posted in Tech | Also tagged , , , , , , , | 1 Comment

kääntää Deployed!

Edit: And of course, the obligatory Project Page entry here: http://www.pioverpi.net/projects/csc309-a3-kaantaa-translations/ Now that I’m done with exams I can start blogging and coding for fun again.  Freedom! My first item on the tasklist was to deploy my CSC309 Django app (aka kääntää) on Bluehost.  Google again was my friend, and I found a few resources [...]

Posted in Django, python, Tech, UofT | Also tagged , , , | Leave a comment

Django Models and Templates

When doing web development, you tend to lose a lot of flexibility regardless of the framework that you’re working with. You end up doing things the “Django-way” or the “RoR-way”.  That became painfully clear to me this weekend while I was working on my CSC309 assignment. The Model Let’s say that you have a model [...]

Posted in Django, python, Tech | Also tagged , , , , | Leave a comment

Unit Tests in Django

I’m going to talk a bit about some of the practices that I use for unit testing in Django.  If you’re unfamiliar with the Django testing system, you can read up on it here: http://docs.djangoproject.com/en/dev/topics/testing/ In general, I organize my unit tests into folders (ref. Organizing Django Tests into Folders) so I can break them [...]

Posted in Django, Tech | Also tagged , , , | Leave a comment