Limited line length in docs/ref/contrib/messages.txt example.

This commit is contained in:
Anton Strogonoff 2015-08-17 15:11:25 +05:00 committed by Tim Graham
parent 7eb513ab0f
commit d35f184b20
1 changed files with 4 additions and 2 deletions

View File

@ -388,8 +388,10 @@ method.
success_message = "%(calculated_field)s was created successfully"
def get_success_message(self, cleaned_data):
return self.success_message % dict(cleaned_data,
calculated_field=self.object.calculated_field)
return self.success_message % dict(
cleaned_data,
calculated_field=self.object.calculated_field,
)
Expiration of messages
======================