Skip to content

Commit

Permalink
Merge pull request #195 from devidw/patch-1
Browse files Browse the repository at this point in the history
Add missing `)` to settings docs sample
  • Loading branch information
Natim committed Aug 4, 2022
2 parents b64b1ad + f715f72 commit a6975d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/settings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ URLs, and they can then be verified with the supplied ``signature_required`` wra
download = ObjectDownloadView.as_view(model=Document, file_field='file')

urlpatterns = [
path('download/<str:slug>/', signature_required(download),
path('download/<str:slug>/', signature_required(download)),
]

Make sure to test the desired functionality after configuration.
Expand Down Expand Up @@ -120,4 +120,4 @@ See :doc:`/optimizations/index` for details about builtin backends

When ``django_downloadview.SmartDownloadMiddleware`` is in your
``MIDDLEWARE_CLASSES``, this setting must be explicitely configured (no default
value). Else, you can ignore this setting.
value). Else, you can ignore this setting.

0 comments on commit a6975d9

Please sign in to comment.