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.

I'm working with a svn copy of revision 4926 (today).

Thanks in advance.

-- 
Marcelo Ramos
Fedora Core 6 | 2.6.19
Socio UYLUG Nro 125

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to