#11273: Tutorial - Part 2 should note the first appearance of curly brackets
---------------------------------------------+------------------------------
          Reporter:  thiggins                |         Owner:  nobody        
            Status:  closed                  |     Milestone:                
         Component:  Documentation           |       Version:  1.0           
        Resolution:  wontfix                 |      Keywords:  curly brackets
             Stage:  Design decision needed  |     Has_patch:  0             
        Needs_docs:  0                       |   Needs_tests:  0             
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Changes (by gabrielhurley):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 The first appearance of the curly brackets is their use in some `dict`s
 during the admin setup examples. I'm assuming the ticket was actually more
 interested in where they're first used regarding templates, however.

 The first time they're used/mentioned is the line "This template file
 contains lots of text like `{% block branding %}` and `{{ title }}`." I
 think that calls attention to them pretty adequately. It specifically
 points out this syntax as something you should notice.

 Moreover, if you mistake a curly bracket for a parenthesis in a template,
 you're going to know you've made a mistake pretty much immediately. And if
 you're copying and pasting code (as many people do with the tutorial),
 then you should be able to distinguish the curly bracket in your text-
 editor of choice.

 Thereby, I'm going to close this one wontfix. Thank you to thiggins for
 the suggestion, however.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11273#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to