title: How to query database without models Django?
body: <p>I'm new to Python and Django, and I'm wondering how you would query the database without using a model. </p>
  
  <p>I have a table of ignored words, which consists of a primary key and a string of the word. How would I query in my text to "ignore" the word, if it's in the table? </p>
  
  <p>All of the documentation and examples involve models, for say a Person object. But I don't know a model object for an ignored word, so it doesn't make sense.</p>
  
  <pre><code>def determine_important_words(original_words):
      for i, word in enumerate(original_words):
          if word[0].isupper():
              if word not in important_words:
                  important_words.append(original_words[i])
      return important_words
  </code></pre>
  
  <p>The table I have is using MySQL.</p>
  
  <p>Thanks! </p>