#28205: Document that ModelAdmin.prepopulated_fields only works on empty forms
--------------------------------------+------------------------------------
     Reporter:  Ju                    |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Documentation         |                  Version:  1.11
     Severity:  Normal                |               Resolution:
     Keywords:  prepopulated_fields   |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Tim Graham):

 * type:  Bug => Cleanup/optimization
 * component:  contrib.admin => Documentation
 * stage:  Unreviewed => Accepted


Comment:

 That's expected behavior -- `prepopulated_fields` only works on empty
 forms. I think the idea is that slugs for existing objects shouldn't
 change since that could cause a URL to change. This could be documented.

--
Ticket URL: <https://code.djangoproject.com/ticket/28205#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/064.a02b47b0346f0dd8465c7db581842f45%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to