diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2011-02-14 13:04:51 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2011-02-14 13:04:51 +0000 |
| commit | 06b22963eae4751d3d5f9616ba24b0f33b8158b0 (patch) | |
| tree | f42d2ab670e2f35705e1890f9b872b5eb51f97c1 /docs/ref/forms | |
| parent | a26034ffbf8951276b79ccb298423bc809246637 (diff) | |
Fixed #15272 -- Altered generic views to use the guaranteed untranslated object_name, rather than the possibly translated verbose_name(_plural) for default context objects. Thanks to szczav for the report and patch.
This is BACKWARDS INCOMPATIBLE for anyone relying on the default context object names for class-based Detail and List views. To migrate, either update your templates to use the new default names, or add a context_object_name argument to your generic views.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/forms')
0 files changed, 0 insertions, 0 deletions
