title: Django combobox from objects of another model
body: <p>I would like to do something like : I have one model names for example
  model A -> <code>class A(models.Model):
      value = models.CharField(max_length = 50)</code></p>
  
  <p>than i would like to have model B -> where i create variable which will be combobox from model A objects , is there a way to do it in django ? I've tried something like : <code>ModelChoiceField(queryset=MyOtherModel.objects.all(), to_field_name="column_with_the_value')</code> but always says that my model A has no attribute objects . </p>
  
  <p>Thanks for help</p>