remove trailing whitespace

pull/6473/head
Matt Westcott 2020-10-19 18:11:12 +01:00
rodzic b5cfca31eb
commit 9fab50e87a
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -478,9 +478,9 @@ Hooks for customising the way users are directed through the process of creating
return HttpResponse("Congrats on making content!", content_type="text/plain")
If you set attributes on a ``Page`` object, you should also call ``save_revision()``, since the edit and index view pick up their data from the revisions table rather than the actual saved page record.
.. code-block:: python
@hooks.register('after_create_page')
def set_attribute_after_page_create(request, page)
page.title = 'Persistent Title'