Posts Filed in "Django"

28

Sep

Filed in Django, iBegin with View Comments |

So we’ve been pushing live some changes the last few days over at iBegin. The biggest one is our brand new Django-powered website. The reason I bring this up, is to show all the haters out there, that Django really can scale well if you’ve designed your architecture properly from the get-go. We haven’t been [...]

28

Sep

Filed in Code, Django with View Comments |

For most of my sites, and for iBegin especially, we rely heavily on our database. Today we went through a distro upgrade for the database server, and it occurred to me, that we had no good solution for handling these kinds of situations (auto-magically even). I quickly through up a middleware which takes (MySQL only) [...]

25

Sep

Filed in Code, Django with View Comments |

One of the projects that I’ve been spending a lot of time with is the django-debug-toolbar. It was started off by Rob Hudson, and since has had huge amounts of support. While my fork is quite a ways off of Rob’s, they’re both quite useful in their own right. To clear up one very annoying [...]

17

Sep

Filed in Django with View Comments |

The author of Jinja, an alternative solution to Django templates, made a great post about what is wrong with the Django template engine. It’s a great read if you have any doubts that the philosophy behind Django’s template engine makes sense. The truest quote of them all: I like the custom tag system in Django, [...]

11

Sep

Filed in Code, Django, How-To's, JavaScript, PHP, Python with View Comments |

Recently I’ve been incorporating alternative techniques to Captcha to prevent automated form submission on websites, which is typically spam, or something else you don’t want happening. I added our routines to the new iBegin’s submission system today, and thought that I’d share with the world what we’re doing. I’m also curious as to what everyone [...]

9

Sep

Filed in Django, DjangoCon, PHP with View Comments |

Just got back home this evening from DjangoCon. It was really a lot of fun. It’s always great to be able to put a face to a name, or a 100 faces to names, in this case. I met a lot of really cool people, and some of the presentations were fantastic (especially Cal Henderson’s). [...]

7

Sep

Filed in Code, Django, DjangoCon with View Comments |

After the presentation yesterday evening, and Cal Anderson showing Pownce’s debug toolbar for a moment, it seemed like a great idea to create a pluggable out of it. It turned out I wasn’t the only one with this idea. I ended up creating a few “panels” inside of an overlay toolbar, which showed things like [...]

6

Sep

Filed in Code, Django, DjangoCon with View Comments |

Below you will find resources from my presentation on High Performance Django. Slides Profiling Middleware Template Engine Benchmarks: Real-world Example, Benchmark Testcase

23

Aug

Filed in Code, Django with View Comments |

One of the tasks that seems to come up every single project we do, is changing the auth backend to accept email addresses. Since it’s such a common task for us, it can’t be that rare to want this functionality. So, here’s a quick and simply backend which accomplishes this, using the built-in django.contrib.auth module. [...]

13

Aug

Filed in Code, Django with View Comments |

One of the tasks that I seem to repeatedly do across multiple projects, is extend the built-in paginator from Django. The built-in is fairly nice, but it’s quite honestly extremely confusing as you have to pass around a paginator instance as well as a paginator.page() instance in order to get useful pagination inside of a [...]

« Previous PageNext Page »