Possible typo in Tutorial page #4
|Reported by:||dustin||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Following the introductory tutorial:
The example showing the view() function calls the reverse() function passing a tuple as the "args" argument. This seemed to generate the following error from Django:
"reverse() argument after * must be a sequence, not long"
Fiddling with the code, I realized that reverse() seemed to expect a list for "args", not a tuple. Changing the code to ... , args=[p.id])) cleared the error.