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
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 ' %
>
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'
3 matches
Mail list logo