Unicode applications in Django

I live in Norway, and when I make Django applications, I would like to name my applications characters like "æøΓ₯", these characters work great in Unicode, but when I try to use these characters in application names, or the text is displayed in the field, I get an error message.

Even better, I would name my applications by the English convention, but for applications there is something like "verbose_name", and not just for models.

. Can I set a display name for applications, not just models? And how can I use Unicode characters in the admin interface?

+3
source share
2 answers

unicode . , , . , , , .

, defacto .

+1

http://softwaremaniacs.org/forum/django/716/ ( )

/django/contrib/admin/templates/index.html

<caption>{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}</caption>

<caption>{% trans app.name %}</caption>

models.py:

class Meta:
    verbose_name = _("Module name")
+1

All Articles