title: How passing string on filter keyword to Django Objects Model?
body: <p>How can i pass variables on a keyword  object filter on a view?</p>
  
  <p>I have:</p>
  
  <pre><code>my_object = MyModel.objects.filter(my_keyword =my_filter_values)
  </code></pre>
  
  <p>I want to grab my_keyword from a variable coming from a string, like this:</p>
  
  <pre><code>my_string = 'my_keyword'
  my_object = MyModel.objects.filter(my_string=my_filter_values)
  </code></pre>
  
  <p>But this doesn't work because Django doesn't know <code>my_string</code> from <code>MyModel</code>.</p>
  
  <p>Edit: I've found <a href="https://stackoverflow.com/questions/2932648/how-do-i-use-a-string-as-a-keyword-argument/2932658#2932658">this SO question</a> - I'll test and report back.</p>