I've come across a problem with special characters on a django query (Django 1.9.2).
I've created a model that stores a word in it, and I'm feeding that model with words from a Spanish dictionary, using code as follows:
MyModel.objects.get_or_create(word=myword)
And now I've realized that words containing special characters haven't been added, so, for example, there is only one row of MyModel in the database for año and ano! And when I query the database I retrieve the same object for these two queries:
MyModel.objects.get(word='año')
MyModel.objects.get(word='ano')
...and no, those words are not the same ;D
I would want to create one object for each, of course.