#19288: incorrect default verbose_name_plural in 1.5
----------------------------------------------+-------------------------
     Reporter:  cdestigter                    |      Owner:  nobody
         Type:  Bug                           |     Status:  new
    Component:  Database layer (models, ORM)  |    Version:  1.5-alpha-1
     Severity:  Release blocker               |   Keywords:
 Triage Stage:  Unreviewed                    |  Has patch:  0
Easy pickings:  0                             |      UI/UX:  0
----------------------------------------------+-------------------------
 Sometime since 1.5a1, `MyModel._meta.verbose_name_plural` seems to be set
 to a weird default:

 {{{
 from django.db.models.loading import get_models
 for cls in get_models():
     print cls._meta.verbose_name_plural

 <django.utils.functional.__proxy__ object at 0x25a3090>
 <django.utils.functional.__proxy__ object at 0x25a62d0>
 ...
 }}}

 Overriding it via adding a `Meta` class on the model it works as expected.
 But the default is a little puzzling.

 Marking as release blocker since this appears to be a regression in 1.5.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19288>
Django <https://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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to