django==1.6.1 python==2.7.6 Mac OS X 10.7.5 (development) & UBUNTU Linux 13.04 (production -- Apache 2.2.server) Browsers==(Mac OS X) Safari, Firefox,Chrome; (Linux) Firefox
To put in a nutshell in my app (I'm translating from Italian into English) 'warehouse' I have a model 'invoice' and a model 'items'. I use the admin interface only. In an admin form I input all data for a specific invoice (client, date of issue, number of invoice) and, by means of inlines, the ordered items. In these inlines I defined a raw_id_fields referring to the 'items' model which is showing correctly in the form, BUT ... when I click on it a "change" page is often (not always) popping up instead of the expected "select" one. Tis happens both in development and in production. Surfing the net I saw a message with the same subject as mine http://stackoverflow.com/questions/21009319/django-1-6-1-raw-id-fields-open-a-change-popup-instead-of-select-popup with a somewhat cryptic only answer... In my case the pop up window instead of being called by : http://localhost:8000/warehouse/warehouse/items/?_popup=1 (which - I tested - works great showing a 'select' page) is called by: http://localhost:8000/warehouse/warehouse/items/?e=1 (which shows a change page) Why is that and what should I do? Thanks a lot Vittorio -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CFFDC421-4743-4868-950D-43ABD4D35858%40de-martino.it. For more options, visit https://groups.google.com/groups/opt_out.