#5641: ugettext_lazy in model's default -----------------------+---------------------------------------------------- Reporter: permon | Owner: permon Status: new | Component: Internationalization Version: SVN | Keywords: Stage: Unreviewed | Has_patch: 1 -----------------------+---------------------------------------------------- When you pass ugettext_lazy as an argument of field default, then in non- interactive creation you will always get __proxy__ as db field value. The problem is not seen when new instance is created interactively (e.g. in Admin). In such case coercing to unicode works well. Because in documentation is said, that ugettext_lazy should be used in models everywhere then we should be aware of such cases.
-- Ticket URL: <http://code.djangoproject.com/ticket/5641> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
