Limited line length in docs/ref/contrib/messages.txt example.
This commit is contained in:
parent
7eb513ab0f
commit
d35f184b20
|
@ -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
|
||||
======================
|
||||
|
|
Loading…
Reference in New Issue