Tag Archives: python

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, Tech, UofT, python | 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, Tech, python | 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

Creating Django Apps

I’ve been doing a bit of work with the Django framework lately, and because I’m a total noob at it, Derek has been nice enough to hold my hand throughout the dev process. Django relies on the MVC design pattern, so you’ll want to modularize your components by creating Django apps.  From the Django book: [...]
Posted in Django, Tech, python | Also tagged , , | Leave a comment

Selenium and Firefox

Derek and I have been working on a Django web app as a side project, and of course, we decided that we needed to do some testing on it. Derek at set up some basic Selenium tests, but I was having some difficulty running them with Firefox.  The error message that I got said: Could [...]
Posted in Tech | Also tagged , , , | Leave a comment