[1.8.x] Limited line length in docs/ref/contrib/messages.txt example.
Backport of d35f184b20
from master
This commit is contained in:
parent
29fa1b5800
commit
e5663ec297
|
@ -394,8 +394,10 @@ method.
|
||||||
success_message = "%(calculated_field)s was created successfully"
|
success_message = "%(calculated_field)s was created successfully"
|
||||||
|
|
||||||
def get_success_message(self, cleaned_data):
|
def get_success_message(self, cleaned_data):
|
||||||
return self.success_message % dict(cleaned_data,
|
return self.success_message % dict(
|
||||||
calculated_field=self.object.calculated_field)
|
cleaned_data,
|
||||||
|
calculated_field=self.object.calculated_field,
|
||||||
|
)
|
||||||
|
|
||||||
Expiration of messages
|
Expiration of messages
|
||||||
======================
|
======================
|
||||||
|
|
Loading…
Reference in New Issue