Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion #7028: Better raw_id_fields feedback in newform-admins branch
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Django  
View profile  
 More options Jan 13 2010, 9:05 am
From: "Django" <nore...@djangoproject.com>
Date: Wed, 13 Jan 2010 14:05:56 -0000
Local: Wed, Jan 13 2010 9:05 am
Subject: Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch
#7028: Better raw_id_fields feedback in newform-admins branch
---------------------------------------------------+----------------------- -
          Reporter:  Marcob <marcob...@gmail.com>  |         Owner:  nobody                  
            Status:  new                           |     Milestone:  1.2                      
         Component:  django.contrib.admin          |       Version:  SVN                      
        Resolution:                                |      Keywords:  raw-id-fields nfa-someday
             Stage:  Accepted                      |     Has_patch:  1                        
        Needs_docs:  0                             |   Needs_tests:  1                        
Needs_better_patch:  0                             |  
---------------------------------------------------+----------------------- -
Changes (by mrts):

  * needs_better_patch:  1 => 0

Comment:

 The linked label should properly update now both when objects are added
 and changed via the popup, so all the required functionality should be
 there.

 Marco and others who are interested in this, please test and report any
 problems you notice (e.g. I haven't tried in IE).

 I'll leave it into "more tests needed" state as of now -- the
 `options.py:response_change():elif request.POST.has_key("_popup")` path
 needs testing as do quirky PKs and other corner cases.

 > Another minor glitch is that I have a table with a FK on a table of
 hierarchical codes that has a "self" FK. When I open the first popup
 window and I click on the inside label for
 > the "self" FK I don't get another popup but it opens in the same window.
 I'm not sure if it's better in this way or to open a new window but to
 obtain this behaviour it's enough
 > to name the window with the id of the object.

 I'd say handling this is not worth the effort. But you are most welcome to
 tinker with the case.

--
Ticket URL: <http://code.djangoproject.com/ticket/7028#comment:38>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.