2👍
✅
This is nothing to do with Unicode. You have a list of items, you need to iterate through them.
{% for name in processor.naam %}{{ name }}{% endfor %}
0👍
Not being familiar with MongoEngine in regards to Django, it’s fairly simple to convert your unicode values to strings, which will hopefully get you by for the time being until you can address the root of the problem.
objects = Processoren.objects.filter(categorie__contains='Processor')[:10]
processoren = [str(p.naam) for p in objects]
Again, I don’t know what methods are available on the query set using that engine, so I’ve avoided using values_list
in this case. Wasn’t sure which property you needed to output either so I just used naam
- [Answered ]-Django Pillow install on Amazon EC2
- [Answered ]-Django-compressor not working on less files in production
- [Answered ]-Django file upload form with single button
Source:stackexchange.com