python - How to resolve case problems for non-english languages in django admin panel? -
I have to solve the problem with word ending in the Django Administrator panel. The language I am using is Russian (using UTF-8 charset), so some problems arise, for example, for some model names, there is a problem at the right end on the "Add" button. The easiest thing I have found is that jQuery is being used to fix the "fly" end, but this solution is very radical. Maybe there is a simple answer? Just do not want to lose the depth of the sources of the Djegogo again ...
If I understand the problem correctly From, you should just add a suitable attribute in the class meta section. English example:
class.men (models.model): [... your fields ...] square meta: verbose_name_plural = "men"
More information can be found in
Comments
Post a Comment