On 6/21/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > For that, you could use either the "limit_choices_to" or > "raw_id_admin" field options.
I've seen the Ellington admin and the fact that it uses raw_id_admin a good bit. I was thinking about making an auto-complete widget. Something like: class Article(models.Model): headline=TextField() class Reporter(models.Model): favorite_articles = models.ForeignKey(article, auto_complete=headline) So that when choosing favorite articles, a reporter could just start typing headlines, then select the ones they like with tab completion. Upon selection, it'd be added to a multi-select whose values are raw_ids. If others like the idea, I'll try to get going on it. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---