Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Added note about 'request' variable name to docs/contributing.txt

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 22303d6 commit d9883e1dec9c80c49749f798890ae5a3efd781f0 @adrianholovaty adrianholovaty committed
Showing with 13 additions and 0 deletions.
  1. +13 −0 docs/contributing.txt
13 docs/contributing.txt
@@ -168,6 +168,19 @@ Please follow these coding standards when writing code for inclusion in Django:
+ * In Django views, the first parameter in a view function should be called
+ ``request``.
+ Do this::
+ def my_view(request, foo):
+ # ...
+ Don't do this::
+ def my_view(req, foo):
+ # ...
* Please don't put your name in the code. While we appreciate all
contributions to Django, our policy is not to publish individual
developer names in code -- for instance, at the top of Python modules.

0 comments on commit d9883e1

Please sign in to comment.
Something went wrong with that request. Please try again.