Sunday, August 28, 2011

ForeignKeyAutocompleteAdmin

Hi, i'm starting with django. At this moment i need to make my form's
foreign keys searchable, it seems that what works form me is the
https://github.com/django-extensions/django-extensions using the
ForeignKeyAutocompleteAdmin function. The best simple example i'd
found is this:
http://code.google.com/p/django-command-extensions/wiki/AdminExtensions

But I'm not able to make it work, i'm getting this error:

Caught TemplateDoesNotExist while rendering: django_extensions/widgets/
TestApp1/personas/foreignkey_searchinput.html,

I have found the foreignkey_searchinput.html file in the downloaded
package but i dont know how to make it work.

What i need to do is something like this:

http://msgre.tumblr.com/post/106673424/autocomplete

But in the admin interface of django that's why i'm trying with
ForeignKeyAutocompleteAdmin

Please help me

Thanks

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

No comments:

Post a Comment