#26357: 'related-lookup' and 'add-another' popups don't work for admin fields 
added
via ajax
-------------------------------------+-------------------------------------
     Reporter:  julianandrews        |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  contrib.admin        |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  admin javascript     |             Triage Stage:  Accepted
  ajax                               |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------

Comment (by julianandrews):

 @timgraham: I've gone ahead and added comments.

 I agree that maintaining future support for the use case would be nice,
 but I'm not sure exactly what that would look like. Given how common ajax
 and dynamic page content is now, it's probably a good practice to avoid
 writing javascript that assumes a static page structure. Maybe a line to
 that effect could be added to
 https://docs.djangoproject.com/en/dev/internals/contributing/writing-
 code/javascript/?

 In any case, Fusionbox relies on ajax in the admin somewhat heavily so
 we're likely to catch inadvertent breakage down the line and send PRs.

--
Ticket URL: <https://code.djangoproject.com/ticket/26357#comment:3>
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/071.81701f7572e9eedf3b95d10c1048d6b7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to