Es Tea Double Eye

You're never too old for a happy childhood

Tag: django

Django tests fail on a new project

This might be slightly confusing at first, but actually makes perfect sense if you think about it. If you have a brand new Django project and you run the tests it fails with a number of errors. # python manage.py test Creating test database… Creating table auth_permission Creating table auth_group Creating table auth_user Creating table [...]

Call me anal, but I really like Django templates

For all the wrong reasons, but still! I just love the fact that it actually uses a .html extension. Am I weird? I do feel a bit weird that I like something so arb. So the template files use the extension of what it actually contains? Wow, I love that. Revolutionary. Don’t ask me why [...]

Django with apache and mod_wsgi issues

I ran into a fairly common error while setting up Django with mod_wsgi and Apache on Debian. What irritates me about it is that I didn’t pick it up right away, but I’ll blame the long Easter weekend for that. :P ImportError: Could not import settings ‘mysite.settings’ (Is it on sys.path? Does it have syntax [...]

Back on WordPress

Okay, right, I feel bit stupid doing this, but due to some massive changes in my life the past couple of months I had to reconsider my priorities and get my ducks in a row. I have not been blogging in two months now, which is quite shocking! I started to feel like I’m neglecting [...]