#6702: ModelForm: assert given instance is instance of model
--------------------------------------+------------------------------------
     Reporter:  guettli               |                    Owner:
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Forms                 |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  1
  Needs tests:  0                     |  Patch needs improvement:  1
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by guettli):

 I was the author of this ticket five years ago. Now I think different
 about this: if type checking at runtime is done here, then there are some
 hundred other places where it could be done. This would sometimes help
 programmers new to django and python, ..... but it would slow down the
 execution time and make the code less clean. I think this ticket can be
 closed (without a modification to django), but since there where
 contributions by other people, I will leave this decision to you.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/6702#comment:13>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to