Hi Marcelo, On Wed, 2007-04-04 at 17:46 -0300, Marcelo Ramos wrote: > After submitting a form using a generic view I get this error: > > Request Method: POST > [...] > Exception Type: ValueError > Exception Value: incomplete format > Exception Location: > /usr/lib/python2.3/site-packages/django/views/generic/create_update.py > in create_object, line 43 > > It seems an error with the format given to gettext(): > > request.user.message_set.create(message=gettext("The %(verbose_name)s > was created successfully.") % {"verbose_name": > model._meta.verbose_name}) > > Is that a bug or a feature? I checked that model._meta.verbose_name > has the correct value then i'm a bit lost here.
Me, too. That looks unexpected. I've been trying to iron out a few i18n problems during the last few days, so it's possible that either (a) I've introduced a new bug or (b) fixing an older problem has exposed this. I'll keep this on my list and try to replicate it when I get a chance. I'm very interested to hear about any regressions like this in the i18n framework at the moment. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---