#12156: The csrf_token should be able to use a custom template
-----------------------------------+----------------------------------------
          Reporter:  tolano        |         Owner:                      
            Status:  new           |     Milestone:  1.2                 
         Component:  Contrib apps  |       Version:  SVN                 
        Resolution:                |      Keywords:  csrf_token, template
             Stage:  Accepted      |     Has_patch:  0                   
        Needs_docs:  0             |   Needs_tests:  0                   
Needs_better_patch:  0             |  
-----------------------------------+----------------------------------------
Comment (by lukeplant):

 Would you mind specifying what the design problems are?  The whole output
 is supposed to be invisible.

 The problem here is that any solution is going to be global, and I imagine
 that if you change it to 'work' in one app, it might not 'work' in another
 app.  I don't want to introduce a setting which will have this problem.
 Rather, we should encourage consistency.

 <div class="hidden"> depends on there being some certain CSS, which isn't
 a good idea.  Actually, the whole style="display:none" is just being
 defensive against browser bugs anyway, it shouldn't strictly be needed.
 But the div itself is needed, for HTML validity.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12156#comment:4>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to