From 97a2b871885044d485082e8eb31e3aadef550a01 Mon Sep 17 00:00:00 2001
From: Anand Kumria <akumria@acm.org>
Date: Wed, 29 Jun 2011 12:49:47 +0100
Subject: [PATCH] Allow the help_text on related fields to be overridden.
---
django/db/models/fields/related.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py
index cedf308..0a03301 100644
a
|
b
|
class ManyToManyField(RelatedField, Field):
|
1020 | 1020 | Field.__init__(self, **kwargs) |
1021 | 1021 | |
1022 | 1022 | msg = _('Hold down "Control", or "Command" on a Mac, to select more than one.') |
1023 | | self.help_text = string_concat(self.help_text, ' ', msg) |
| 1023 | self.help_text = self.help_text or msg |
1024 | 1024 | |
1025 | 1025 | def get_choices_default(self): |
1026 | 1026 | return Field.get_choices(self, include_blank=False) |