Re: SingleObjectMixin.get_context_object_name and i18n

2011-02-13 Thread Ɓukasz Rekucki
On 13 February 2011 20:42, Jjdelc wrote: > The SingleObjectMixin.get_context_object_name method currently obtains > its value from the object's verbose name (when context_object_name is > None) : > > smart_str(re.sub('[^a-zA-Z0-9]+', '_', > obj._meta.verbose_name.lower())) > > When your object's v

Re: SingleObjectMixin.get_context_object_name and i18n

2011-02-13 Thread Karen Tracey
I believe this problem is being tracked here: http://code.djangoproject.com/ticket/15272 Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from thi

SingleObjectMixin.get_context_object_name and i18n

2011-02-13 Thread Jjdelc
The SingleObjectMixin.get_context_object_name method currently obtains its value from the object's verbose name (when context_object_name is None) : smart_str(re.sub('[^a-zA-Z0-9]+', '_', obj._meta.verbose_name.lower())) When your object's verbose name is using ugettext, the template context will