mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-03-16 22:40:25 +00:00
Merge pull request #195 from devidw/patch-1
Add missing `)` to settings docs sample
This commit is contained in:
commit
a6975d9669
1 changed files with 2 additions and 2 deletions
|
|
@ -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')
|
download = ObjectDownloadView.as_view(model=Document, file_field='file')
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('download/<str:slug>/', signature_required(download),
|
path('download/<str:slug>/', signature_required(download)),
|
||||||
]
|
]
|
||||||
|
|
||||||
Make sure to test the desired functionality after configuration.
|
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
|
When ``django_downloadview.SmartDownloadMiddleware`` is in your
|
||||||
``MIDDLEWARE_CLASSES``, this setting must be explicitely configured (no default
|
``MIDDLEWARE_CLASSES``, this setting must be explicitely configured (no default
|
||||||
value). Else, you can ignore this setting.
|
value). Else, you can ignore this setting.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue