Add missing ) to settings docs sample

This commit is contained in:
David Wolf 2022-04-14 17:02:49 +02:00 committed by GitHub
parent b64b1ad21a
commit f715f72032
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.