Code

Changes between Initial Version and Version 1 of Ticket #12177


Ignore:
Timestamp:
11/06/09 06:33:51 (4 years ago)
Author:
kmtracey
Comment:

(Reformatted description, please use the preview button and WikiFormatting.)

The problem is you are using the latest-development-level docs with a released level of the code, which does not have some of the recent changes introduced in trunk. Specifically, csrf_token does not exist in 1.1.1 or earlier. You can fix the problem you see by just deleting it from your template.

The 1.1 level of the tutorial part 4 is here: http://docs.djangoproject.com/en/1.1/intro/tutorial04/#intro-tutorial04

(The problem of there being no link to the 1.1.1 docs is covered by #12155.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12177

    • Property Status changed from new to closed
    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Needs documentation unset
    • Property Resolution changed from to duplicate
  • Ticket #12177 – Description

    initial v1  
    88Start of output resulting response from dev server: 
    99--------------------------------------------------------------- 
    10  
     10{{{ 
    1111Environment: 
    1212 
     
    9393Exception Type: TemplateSyntaxError at /polls/2/vote/ 
    9494Exception Value: Invalid block tag: 'csrf_token' 
    95  
     95}}} 
    9696--------------------------------------------------------------- 
    9797End of output resulting response from dev server: