django widget combo box

338 views
Skip to first unread message

mike

unread,
Dec 14, 2007, 9:40:43 AM12/14/07
to Django users
http://code.djangoproject.com/wiki/AJAXWidgetComboBox

Has anyone had any luck with this, I get to the template section and
cant get past the {% load formtags %} part. I found a formtags.py
from "Koders search" by googling and placed in the django templatetags
folder, but keep getting this error

'formtags' is not a valid tag library: Could not load template library
from django.templatetags.formtags, No module named formtags

mattim...@gmail.com

unread,
Dec 15, 2007, 10:01:04 PM12/15/07
to Django users
Hi, I'm the original author of that widget though I don't use it
anymore myself so I'm not even sure it will work with recent versions
of django. The formtags.py file is included with the
nongselect-1.0.tar.gz file attached to that page. Who knows whether
the one you are using is the same as the one I wrote.

regards

matthew

--
Matthew Flanagan
http://wadofstuff.blogspot.com

mike

unread,
Jan 2, 2008, 4:30:31 PM1/2/08
to Django users
I have used the formtags that is inluded in the nongselect tar
package. It seems with the development version of django the import
statements {% load formtags %} no longer work, I need a way to
replace the

{% selectrow form.reporter "/myapp/reporter_lookup/?q=%{searchString}"
"first_name" %}

Line with raw html for a text input box that will call this ajax
function for me. I have been googling for days with no luck.
I'm using the newforms library and form_for_instance


On Dec 15 2007, 9:01 pm, "mattimust...@gmail.com"
Reply all
Reply to author
Forward
0 new messages