vLent.nl

Practicing software development

Weblog entries for “django”

Found 14 weblog entries in this category. Showing results 1–10.

previous 1 2

Using a jQuery plugin in Django admin and getting a "$().foo is not a function" or "Object ... has no method foo" error?

Are you using a jQuery plugin, for instance jQuery UI, to spice up the Django admin site? Then you might get either an error like “foo is not a function” (Firebug) or “Object … has no method foo” (Chrome Developer Tools). Confused because foo should be defined in the plugin? Don't worry, the solution is simple.

Searching in a Django site - part 1: what and why

One of the things that was still on my wish list for this site, was a proper search. In two articles I will explain how I've done this. The next article will describe the way I have currently set things up. This article will primarily focus on the journey I made to come to my choice (Djapian).

How I solved the comment spam for my Django site

After this website migrated from Plone to Django, the comment spammers found my site more interesting. Instead of five spam comments a year, I suddenly got the same amount per week. Although those comments were never published (more on that later), it did annoy me. By no longer displaying the comment form below the blog entries, the problem of the spam seems to be solved. While this wasn't my goal, it is a nice side effect.

previous 1 2