Re: Strange crash with ugettext_lazy when accent letter

2013-12-16 Thread gilberto dos santos alves
please see your settings.py [1], default_charset is utf-8?; use_l10n is set true? what is default content-type? we have this issue when use pt-br chars like õ and ç but with correct setup this has worked. [1] https://docs.djangoproject.com/en/dev/ref/settings/ 2013/12/16 Bastien Sevajol > Hi

Re: Strange crash with ugettext_lazy when accent letter

2013-12-16 Thread Ramiro Morales
On Mon, Dec 16, 2013 at 11:19 AM, Bastien Sevajol wrote: > Hi, > > I want ask to this mailing list before open bug issue on code.django. > When use ugettext_lazy with accent like "â" some strange behaviour happens. > Exemple: > >> # -*- coding: utf-8 -*- >> from django.db import models >> >> from

Strange crash with ugettext_lazy when accent letter

2013-12-16 Thread Bastien Sevajol
Hi, I want ask to this mailing list before open bug issue on code.django. When use ugettext_lazy with accent like "â" some strange behaviour happens. Exemple: # -*- coding: utf-8 -*- > from django.db import models > from django.utils.translation import ugettext_lazy as _ > class MyModel(models.

App-loading reloaded - apps without a models module

2013-12-16 Thread Aymeric Augustin
Merge request I sent a pull request implementing my first goal: https://github.com/django/django/pull/2076. It allows creating apps without a models module, and that’s it. As far as I can tell it’s fully backwards-compatible. It even includes deprecation paths for some private APIs for extra s