Skip to content

Commit

Permalink
Merge f7404aa into fe0a694
Browse files Browse the repository at this point in the history
  • Loading branch information
chosak committed Jan 6, 2021
2 parents fe0a694 + f7404aa commit 515ac39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Run migrations to create required database tables:

.. code-block:: bash
$ manage.py migrate wagtailsharing
$ python manage.py migrate wagtailsharing
Replace use of Wagtail's catch-all URL pattern:

Expand Down
2 changes: 1 addition & 1 deletion wagtailsharing/wagtail_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class SharingSiteModelAdmin(ModelAdmin):


@hooks.register("register_page_listing_more_buttons")
def add_sharing_link(page, page_perms, is_parent=False):
def add_sharing_link(page, page_perms, is_parent=False, next_url=None):
sharing_url = get_sharing_url(page)

if sharing_url:
Expand Down

0 comments on commit 515ac39

Please sign in to comment.