Welcome to rossp.org

menu

  • Latest Items
  • About Me
  • Projects
  • Blog Archive
  • Links
  • Quotes

find me

  • Twitter
  • Facebook
  • Flickr (Photos)
  • Readernaut (Books)
  • LinkedIn
  • Django People

Archives

  • Jun 2010
  • Jun 2009
  • Apr 2009
  • Feb 2009
  • Jan 2009
  • Dec 2008
  • Oct 2008
  • Sep 2008
  • Aug 2008
  • Jul 2008
  • Jun 2008
  • May 2008
  • Apr 2008
  • Mar 2008
  • Feb 2008
  • Jan 2008
  • Dec 2007
  • Nov 2007
  • Oct 2007
  • Sep 2007
  • Aug 2007
  • Jul 2007
  • Jun 2007
  • May 2007
  • Apr 2007
  • Feb 2007
  • Jan 2007
  • Dec 2006
  • Nov 2006
  • Aug 2006
  • Jul 2006
  • Jun 2006
  • May 2006
  • Feb 2006
  • Jan 2006

RSS Feeds

  • Latest Items
  • Latest Blog Posts
  • Latest Links
  • Latest Quotes
  • Django-related items

Links

  • bathroom vanities
  • Wedding Dresses
  • Wedding Dresses
  • Merchant Circle
  • Wedding Invitations
  • Diamond Rings
  • Cincinnati Wedding DJ
  • Custom Rubber Stamps

Jannis Leidel - An autocomplete widget for django-tagging form fields

9:51 a.m., Saturday 27 December, 2008. Tagged django, interface, javascript, jquery, programming, python and user. Short Link (Twitter etc)

Jannis Leidel has put together this useful blog post which shows how to use jQuery to provide autosuggest on your django-tagging fields in Django, in both the automatic Admin screens and in your own custom forms.

The only real downside I can see is that it sends the entire tag list with the initial request, so if you have hundreds or thousands of tags then it wouldn't be overly bandwidth-friendly. In those situations it should be relatively easy to modify this to use an XMLHttpRequest, though.

Nice work, Jannis!

http://jannisleidel.com/2008/11/autocomplete-widget-for-django-tagging-form-fields/

© Copyright 2008 Ross Poulton. All Rights Reserved. Opinions expressed here are my own, and nare not those of my employer or any other party. Powered by Django.