Re: How to popup a window from admin site from the admin table's cell html content?

2012-05-25 Thread francescortiz
You need to be more specific, because the code you have already seems to do what you ask. What is your problem? On Monday, May 21, 2012 5:51:21 AM UTC+2, Aditya Sriram M wrote: > > Help please! :-| > > On Saturday, 19 May 2012 18:31:05 UTC+5:30, Aditya Sriram M wrote: >> >> I have a function

Re: How to popup a window from admin site from the admin table's cell html content?

2012-05-20 Thread Aditya Sriram M
Help please! :-| On Saturday, 19 May 2012 18:31:05 UTC+5:30, Aditya Sriram M wrote: > > I have a function like this.. > > list_display = (..,get_link_to_users, ..) > >def get_link_to_users(self, obj): > html_table = ' href="JavaScript:window.open(''../user/?q=%s'');"> My Users ' % >

How to popup a window from admin site from the admin table's cell html content?

2012-05-19 Thread Aditya Sriram M
I have a function like this.. list_display = (..,get_link_to_users, ..) def get_link_to_users(self, obj): html_table = ' My Users ' % (obj.customer_id) print html_table return html_table get_link_to_fortress_users.short_description = 'Fortress Users'