Merge pull request #195 from devidw/patch-1

Add missing `)` to settings docs sample
This commit is contained in:
Rémy HUBSCHER 2022-08-04 14:26:22 +02:00 committed by GitHub
commit a6975d9669
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.
@ -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.