Skip to content

Commit

Permalink
docs: Clean up include URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Jun 29, 2018
1 parent c3a6312 commit b7ebe18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Add to urls.py:
path("stripe/", include("djstripe.urls", namespace="djstripe")),
Then tell Stripe about the webhook (Stripe webhook docs can be found `here <https://stripe.com/docs/webhooks>`_) using the full URL of your endpoint from the urls.py step above (e.g. ``https://example.com/payments/webhook``).
Then tell Stripe about the webhook (Stripe webhook docs can be found `here <https://stripe.com/docs/webhooks>`_) using the full URL of your endpoint from the urls.py step above (e.g. ``https://example.com/stripe/webhook``).

Run the commands::

Expand Down
4 changes: 2 additions & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ Add the following to the `urlpatterns` in your `urls.py` to expose the webhook e

.. code-block:: python
url(r'^payments/', include('djstripe.urls', namespace="djstripe")),
url(r"^stripe/", include("djstripe.urls", namespace="djstripe")),
Then tell Stripe about the webhook (Stripe webhook docs can be found `here <https://stripe.com/docs/webhooks>`_) using the full URL of your endpoint from the urls.py step above (e.g. ``https://yourwebsite.com/payments/webhook``).
Then tell Stripe about the webhook (Stripe webhook docs can be found `here <https://stripe.com/docs/webhooks>`_) using the full URL of your endpoint from the urls.py step above (e.g. ``https://example.com/stripe/webhook``).

Run the commands::

Expand Down

0 comments on commit b7ebe18

Please sign in to comment.