Browse Source

Fixed coding convention. #288

Rafał Pitoń 11 years ago
parent
commit
b506e4eecd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/coding_style.rst

+ 2 - 1
docs/coding_style.rst

@@ -65,7 +65,8 @@ In addition to views and forms definitions, those files can also contain helper
 View Arguments
 View Arguments
 --------------
 --------------
 
 
-As convention, declare view arguments in same order as parameters are declared in view's links patterns.
+As convention, declare view arguments in order they are being used in view's code. This means pk before slug, because view has to get model from database before it validates its slug.
+
 
 
 Templates
 Templates
 =========
 =========