Hi all! I make integration with warehouse system and want to reuse existing functionality in django.contrib.admin to manage links between this system and catalog on site. I can't get access to warehouse system database, I have only export file. I write some views to represent its items in django admin. And now I need something like related field in django admin forms, but has some filters applied to changelist and has some other user interface.
I think, the best solution for this case is put some links with showRelatedObjectLookupPopup javascript function on admin changelist, but after user choose the object, my own javascript function must be called instead of dismissRelatedLookupPopup javascript function. Execution of dismissRelatedLookupPopup is hard coded in python code now. The easiest way to implement use case described higher is adding new GET argument "_callback" to changelist view. What are you think about this? If this solution was accepted I can write patch and tests for it. Cheers! -- Alex Kamedov skype: kamedov www: kamedov.ru -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.