mirror of https://github.com/django/django.git
parent
fa90ef250f
commit
3f7ecb512e
|
@ -32,7 +32,7 @@ A class-based view is deployed into a URL pattern using the
|
||||||
.. admonition:: Thread safety with view arguments
|
.. admonition:: Thread safety with view arguments
|
||||||
|
|
||||||
Arguments passed to a view are shared between every instance of a view.
|
Arguments passed to a view are shared between every instance of a view.
|
||||||
This means that you shoudn't use a list, dictionary, or any other
|
This means that you shouldn't use a list, dictionary, or any other
|
||||||
mutable object as an argument to a view. If you do and the shared object
|
mutable object as an argument to a view. If you do and the shared object
|
||||||
is modified, the actions of one user visiting your view could have an
|
is modified, the actions of one user visiting your view could have an
|
||||||
effect on subsequent users visiting the same view.
|
effect on subsequent users visiting the same view.
|
||||||
|
|
Loading…
Reference in New Issue