Here's an example:

http://joshourisman.com/2008/11/19/custom-fields-and-widgets-django-forms/

Another good way to go would be to look at the django widgets in the
source code and  follow their example

On Aug 18, 1:44 pm, ydjango <neerash...@gmail.com> wrote:
> I am using a 3rd party javascript library with some custom components
> like combo box.
>
> I want to use this 3rd party combo box instead of  the default combo
> box that
> django forms modelchoicefield(widget= forms.select(...),...)
> displays.
>
> I guess I will have to create another widget replace widget=
> form.select(...) by that.
>
> How do I create another widget? Any links to how to documentation
> would appreciated. I searched for it, not sure why I could not find
> it.
>
> I am on django 1.1.1

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to