Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jquery in Django: Which django apps should I look into?

I want to use some jquery in my forms and I was hoping to use some ready made solutions - there seem to be a lot of them...

Which django apps would you recommend for this purpose? Which are most popular?

EDIT #1: Hmmmm... I suppose I didn't put enough effort into my question... I was hoping for more options/clarifications...

There seems to be a huge amount of jquery apps out there. Here's a random selection:

  • django-ajax-selects - for autocompleting ManyToManyFields and ForeignKeys
  • django-autocomplete - same as above
  • django-ajax-filtered-fields - autocomplete yet again
  • django-easywidgets - this one doesn't seem to be documented on-line, so I'm not sure what it does, but it's probably a collection of widgets.
  • django-ajax-forms - already mentioned by silent1mezzo, from what I can see it does client side validation
  • django-dynamic-formset - adding new forms to an already rendered formset
  • django-form-widgets - a collection of widgets like datapicker etc.

I suppose the obvious answer is "use the one that gives you the functionality you need", as most of these serve different purposes. But I was wondering which are commonly used... Or maybe most people just tend to code their own?

For someone who is pretty clueless about jquery is it easier to use one or a few of these? Or is it easier to do it "by hand"?

like image 993
Monika Sulik Avatar asked Jan 08 '10 18:01

Monika Sulik


1 Answers

Here's a few examples

Ajax Contact Form http://www.djangosnippets.org/snippets/992/

django-ajax-forms http://code.google.com/p/django-ajax-forms/

Here's a tutorial if you want to get your hands dirty http://dewful.com/?p=100

like image 89
silent1mezzo Avatar answered Nov 15 '22 19:11

silent1mezzo