From e2da75ec9dcc31ae83dc753a1da497c72c812e54 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 8 Mar 2020 18:03:42 +1100 Subject: [PATCH] docs: Fix simple typo, instanciate -> instantiate There is a small typo in django_downloadview/middlewares.py. Should read `instantiate` rather than `instanciate`. --- django_downloadview/middlewares.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django_downloadview/middlewares.py b/django_downloadview/middlewares.py index 8f5b9a7..557498d 100644 --- a/django_downloadview/middlewares.py +++ b/django_downloadview/middlewares.py @@ -128,12 +128,12 @@ class SmartDownloadMiddleware(BaseDownloadMiddleware): #: :class:`DownloadDispatcher` instance that can hold multiple #: backend instances. self.dispatcher = DownloadDispatcherMiddleware(middlewares=[]) - #: Callable (typically a class) to instanciate backend (typically a + #: Callable (typically a class) to instantiate backend (typically a #: :class:`DownloadMiddleware` subclass). self.backend_factory = backend_factory if self.backend_factory is AUTO_CONFIGURE: self.auto_configure_backend_factory() - #: List of positional or keyword arguments to instanciate backend + #: List of positional or keyword arguments to instantiate backend #: instances. self.backend_options = backend_options if self.backend_options is AUTO_CONFIGURE: