Posts Filed in "Django"

22

Mar

Filed in Django, How-To's with 6 comments |

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 [...]

22

Mar

Filed in Django, How-To's with no comments |

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 [...]

19

Mar

Filed in Django with 7 comments |

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 [...]

17

Mar

Filed in Django, iBegin, iBegin Labs with no comments |

We’ve launched our first new site over at iBegin, and it’s called Places. It’s an experiment in mapping informal spaces, or outlining landmarks and other types of locations that you wouldn’t normally find on a map. The framework was built in about a week, and is powered by Django, MySQL, the Jinja templating engine, and [...]

24

Feb

Filed in Code, Django, How-To's, Python with 14 comments |

Again, I still suck at documentation, and my “tutorials” aren’t in-depth enough. So hopefully this covers all of the questions regarding using the django-sphinx module.

21

Jan

Filed in Code, Django, Python with 5 comments |

I’ve finally completed what I’ll call “phase 1″ of the caching layer. It handles the easiest, and for my cases, the most useful level of cache invalidation: removing objects.
“Phase 1″ Features:

Automatic caching of querysets.
Invalidating querysets when an object is removed.
Caching querysets objects in a key by key basis (per-object caching).
Automatic invalidation of per-object caches.

Grab the [...]

21

Jan

Filed in Code, Django, Python with no comments |

Thanks to Michael Moroz there is now initial unicode support in the django-sphinx project. I have also went ahead and setup SVN for the project at Google code.
I will be updating the code with some timeout parameters and the requested weight attributes sometime over the next week.

3

Jan

Filed in Code, Django, How-To's with 3 comments |

It seems I suck at documentation (yes, It’s very true), so here’s a quick How-to on using the Sphinx ORM for Django we created:

20

Dec

Filed in Code, Curse, Django, How-To's with no comments |

One issue I’ve personally had to overcome with Django, and languages which aren’t specifically designed for the web, is that you don’t have access to the environment everywhere. The environment I’m referring to, is the current request, and response objects.
In PHP there is no response object, at least not one as you would see in [...]

6

Dec

Filed in Code, Curse, Django with 3 comments |

In preparation for a possible change in Curse’s caching strategy, I took the time today to do some benchmarks of memcached. The benchmarks were taken using the standard python-memcached library as well as 3rd party library for PHP (I couldn’t get Leopard working with the PECL package). It turns out, Python is actually fairly fast [...]

« Previous PageNext Page »