Found this (old) post http://oebfare.com/blog/2008/feb/23/changing-modelchoicefield-queryset/
So i tried class Post(models.Model): blog = models.ForeignKey(blog) ..... url = models.ModelChoiceField (queryset=Image.objects.values_list()) def __init__(self, *args, **kwargs): super(Post, self).__init__(*args, **kwargs) self.fields["url"].queryset = Image.objects.values_list ('image') But i run into an AttributeError: 'module' object has no attribute 'ModelChoiceField' -- 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.