#15602: Using get_readonly_fields and StackedInline/TabularInline admin objects
doesn't allow creating new objects, immutible existing objects
---------------------------------+------------------------------------
     Reporter:  bradwhittington  |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  contrib.admin    |                  Version:  master
     Severity:  Normal           |               Resolution:
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------

Comment (by gual):

 Nice solution, this worked in my scenario.

 Replying to [comment:21 Carlton Gibson]:
 > On the actual issue, could it be resolved with permissions? If you have
 `add` but not `change` on the inline model (possibly via custom
 `has_add_permission()` and `has_change_permission()` methods) do you not
 get the `allow creating new objects, immutible existing objects` from the
 title?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/15602#comment:22>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.7f85faa3bf9b05a803e1fccbf84c517f%40djangoproject.com.

Reply via email to