Alternatives to creating and iterating through a list for "bad" values each time clean is called in django?
Hard coding into the clean function, and displaying to the user is the best means.  Test if any words are in the banned_words list, and show as error to user:
Sorry, the following words are not allowed: foo, bar, foobar
Let's say I have a group of words that I don't want to allow my users to include in their titles that they are going to be submitting. What are some alternatives on how to store those values besides hardcoding the list into the clean function? 
I thought about creating a new model that would contain all of these words that aren't allowed but I am not sure whether or not querying the database each time clean was called for that function would be slower/faster or more/less secure than just creating a separate list for the names. I do think it would be more readable if the list would get too long though.