Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Refs #13427 -- Removed translation from verbose_name and verbose_name…

…_plural on autogenerated m2m models.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit dccc5ac0a6ae4cbdf488d297db1b41cd8e3d98f1 1 parent 2f9eef1
@freakboy3742 freakboy3742 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/db/models/fields/
4 django/db/models/fields/
@@ -970,8 +970,8 @@ def set_managed(field, model, cls):
'auto_created': klass,
'app_label': klass._meta.app_label,
'unique_together': (from_, to),
- 'verbose_name': _('%(from)s-%(to)s relationship') % {'from': from_, 'to': to},
- 'verbose_name_plural': _('%(from)s-%(to)s relationships') % {'from': from_, 'to': to},
+ 'verbose_name': '%(from)s-%(to)s relationship' % {'from': from_, 'to': to},
+ 'verbose_name_plural': '%(from)s-%(to)s relationships' % {'from': from_, 'to': to},
# Construct and return the new class.
return type(name, (models.Model,), {
Please sign in to comment.
Something went wrong with that request. Please try again.