diff options
| author | Tim Graham <timograham@gmail.com> | 2012-08-09 16:22:22 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-08-09 18:22:30 -0400 |
| commit | 7275576235ae2e87f3de7b0facb3f9b0a2368f28 (patch) | |
| tree | ca32a6015bc12390b10f2939f63d96218342336c | |
| parent | 751774c29f6ad8f6ad08bc48a4d085829dd279e0 (diff) | |
Clarified thread safety note in class based views; thanks rafadura for the patch.
| -rw-r--r-- | docs/ref/class-based-views/index.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/class-based-views/index.txt b/docs/ref/class-based-views/index.txt index c10e66b396..f2271d2506 100644 --- a/docs/ref/class-based-views/index.txt +++ b/docs/ref/class-based-views/index.txt @@ -32,9 +32,9 @@ A class-based view is deployed into a URL pattern using the 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 - variable object as an argument to a view. If you did, the actions of - one user visiting your view could have an effect on subsequent users - visiting the same view. + 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 + effect on subsequent users visiting the same view. Any argument passed into :meth:`~View.as_view()` will be assigned onto the instance that is used to service a request. Using the previous example, |
