#20703: Why django form.as_p call form.clean method when template renders?
-------------------------------------+-------------------------------------
     Reporter:  max.kharandziuk@…    |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  closed
    Component:  Template system      |                  Version:  1.5
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  as_p clean           |             Triage Stage:
  templates                          |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by timo):

 * status:  new => closed
 * needs_docs:   => 0
 * resolution:   => invalid
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Comment:

 I think you want to use `initial={'text': 'some text'}` when initializing
 `TestForm` rather than `request.POST or {'text': 'some text'}`, but this
 ticket tracker isn't the place to get help with this, thanks!

 https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20703#comment:1>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/083.2d64f488476e68f8da4a468661e00c60%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to