Last week I made the decision to begin the conversion from MySQL to PostgreSQL. Well, more of a benchmark conversion, but none the less. So we begin the installation..
I installed PostgreSQL server, version 8.2, painlessly both locally and on our staging server. I then installed psycopg2 via Python setuptools. Nice, quick and easy, right? Segmentation [...]
Today I was adding full screen support to iBox, and I hit an IE6 bug. The bug is introduced because the BODY tag had either margin or padding values of more than 0. This is a number of problems we’ve had with calculating positions because of the BODY clauses containing these extra pixels.
The solution:
<style type=”text/css”>
/* [...]
Every time I meet someone new who asks me about Django, I tell them exactly what I think. It’s a great product. It does exactly what it’s designed to do. Allows you to build decently structured applications rapidly, without much overhead in doing so. One of the other things I tell them, is that the [...]
Today I went head and finalized our build bot some of our public scripts. These scripts are mostly JavaScript based. I already had the build script zipping the file for tags and trunks of projects within the repository (we store all projects in one repository, instead of one repo per project). There were still a [...]
One of my goals, beyond the constant improvement of the ORM in Django, is to make django.newforms easier for all of the lazy people, like myself, which I know are plentiful. I personally hate the repetitive task of creating templates for your forms, and the as_X methods are extremely limited. So let’s get down to [...]
Today I was creating the submission form for the new iBegin.com homepage. In this we use a lot of JavaScript to make the process more clean. One such use, was an autocomplete on Cities and Categories. To do this, and to keep validation, you need to use a ModelChoiceField, but using a ModelChoiceField with a [...]
Recently I took the opportunity to configure my server for per-user hosting (to offer some free hosting to people who needed it). Doing this I had to configure mod_wsgi per-user as well. First, let me say that the documentation is excellent, but real world examples are always very helpful. Below is the output of a [...]
Today a question was raised on how to deploy Django on your server. I figured it’d be useful to put together a quick how-to for deploying Django on your standard LAMP infrastructure. I’m not going to say the way we’ve done things is the best, or if it’s even common, but it’s the way we’ve [...]
In response to a few suggestions from users, I had been thinking of ways to improve PasteThat. While I feel it’s a superb engine for what it does, I think it can be expanded.
I’ve considered adding authentication and library features. What this would do is allow users who want long-term data available to sign-up and [...]
I just finished moving everything to my new server (Ubuntu 7.x), which means I can deal with installing Django. Being that I have plenty of resources (I used to have some very active websites), I’m going to offer free, with no guarantee, Django hosting. Whether you have a domain or don’t, if you have a [...]