diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index 18777c33ea..a368bc262b 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -349,6 +349,7 @@ Contributors * Thomas Elliott * damianosSemmle * Evan Winter +* Neil Lyons Translators =========== diff --git a/docs/reference/hooks.rst b/docs/reference/hooks.rst index 0f58a808fa..dcedcab180 100644 --- a/docs/reference/hooks.rst +++ b/docs/reference/hooks.rst @@ -76,7 +76,7 @@ Hooks for building new areas of the admin interface (alongside pages, images, do @hooks.register('construct_homepage_panels') def add_another_welcome_panel(request, panels): - return panels.append( WelcomePanel() ) + panels.append(WelcomePanel()) .. _construct_homepage_summary_items: