How To Run Sandboxed Django Sites in Production

Recently, I moved all my sites from a dedicated server to a great VPS over at SliceHost. I took the opportunity of “the big move” to fix an ongoing problem I’d had, which was that all four of my Django sites were using the same libraries.
Ouch! That meant that I couldn’t update any [...]

Speaking at DjangoCon 2009

I’m going to be presenting at DjangoCon 2009!  The 45 minute presentation will be on the advanced use of Django signals to promote reuse.

I’ll be using Satchmo as an example of how to create very useful custom signals to allow for some quite complex customizations. If you want a copy of the presentation, please [...]

Django, the web framework for ponies with magical powers

Last year at DjangoCon, one of the most interesting sessions was the one where people presented their “pony requests”, and made a case for their pet feature to be built into Django.

Shortly after that, the first logos for the Django Pony began to appear, followed by the inevitable (in retrospect) djangopony.com.

This morning, I discovered that [...]

A short example using django-app-plugins

At Djangocon a couple months ago, I was intrigued to hear about Django App Plugins. This small app adds the ability to make mount points in your Django templates.
That way, you can have your apps insert text into your templates just by referencing the mountpoint in the template. This allows you to have apps which [...]

Weewar Status Notifier for Adobe Air

I’m pleased to announce the release of my first Adobe AIR application. This is a simple little desktop (not browser) app which checks your status on Weewar to see if you have any games waiting for your attention.
Revision 2.2 feature list:

Checks your status using the Weewar API
User settable interval between checks
You can force an update [...]

Why I didn’t switch from jQuery to ExtJS after all

A while back, I wrote an article about why I was switching to ExtJS from jQuery. This remains one of the top ten pages on the site, despite the fact that I never really did switch. Checking it just now, I am certain that it is the most heavily commented article on the site.
The fact [...]

Updated Weewarify for Adobe AIR

Using the free AIR code signing certificates offered by Adobe AIR Marketplace I’ve signed Weewarify 2.1 so that it doesn’t give nasty “UNKNOWN PUBLISHER” warnings when one goes to install it. Evidently, I’ll now be able to publish updates as well, and have them be automatically offered as available, so long as I use the [...]

Fixing a category assigned with itself as parent in Satchmo

One annoying possibility in Satchmo is that administrators sometimes accidentally set a category as its own parent. This causes an infinite loop and hangs the site. So you can’t even use Django to fix the error.
Luckily, the solution is simple. At the commandline do like so:

/opt/webapps/mystore $ ./manage.py dbshell
mysql> update product_category set parent_id=null where id=parent_id;
mysql> [...]

Setting up SSL for Lighttpd/Django

My latest client Farinaz Taghavi is finally in beta on her site, and one of the last steps to push her live was to set up SSL for her.
Luckily, I’ve done this a number of times, so it was quick and easy to do, but still I had to refer to various reference sites and [...]

Amazon Payments for Satchmo

I’m not sure how I missed it before, but PayPal has a new competitor in Amazon Payments.
I applied this evening to the beta “Flexible Payment Service” so that I can develop a plugin for Satchmo, using Amazon Payments.
It looks really interesting. The base features will be a snap to do in python/Satchmo, of course. But [...]

keep looking »

Video & Audio Comments are proudly powered by Riffly