Re: Displaying thumbnails in the admin interface

2006-07-20 Thread Kenneth Gonsalves


On 20-Jul-06, at 8:03 PM, Nebojsa Djordjevic wrote:

>> my one crib is that he has dropped python2.3.5 compatibility, but
>> this is only in the decorator part and easily changed - 3-4 changes
>> in one file
>>
>
> And it's done ;) No more 2.4 requirements.

cool

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Displaying thumbnails in the admin interface

2006-07-20 Thread Nebojsa Djordjevic

Kenneth Gonsalves wrote:
> 
> On 19-Jul-06, at 9:27 PM, arthur debert wrote:
> 
>> You should also take a look at nesh's excellent
>> ImageWIthThumbnailField:
>>
>> http://djangoutils.python-hosting.com/wiki/Thumbnails
> 
> my one crib is that he has dropped python2.3.5 compatibility, but  
> this is only in the decorator part and easily changed - 3-4 changes  
> in one file
> 

And it's done ;) No more 2.4 requirements.


BTW. URL is now http://trac.studioquattro.biz/djangoutils/wiki/Thumbnail

-- 
Nebojša Đorđević - nesh
Studio Quattro - Niš - SCG
http://studioquattro.biz/
http://djnesh.blogspot.com/  |  http://djnesh-django.blogspot.com/ |  
http://trac.studioquattro.biz/djangoutils/
Registered Linux User 282159 [http://counter.li.org]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Displaying thumbnails in the admin interface

2006-07-19 Thread Kenneth Gonsalves


On 19-Jul-06, at 9:27 PM, arthur debert wrote:

> You should also take a look at nesh's excellent
> ImageWIthThumbnailField:
>
> http://djangoutils.python-hosting.com/wiki/Thumbnails

my one crib is that he has dropped python2.3.5 compatibility, but  
this is only in the decorator part and easily changed - 3-4 changes  
in one file

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Displaying thumbnails in the admin interface

2006-07-19 Thread kwe

Simon, that's just great timing!! Thanks - will check it out.

Simon Willison wrote:
> On 19 Jul 2006, at 16:22, kwe wrote:
>
> > Is there a way to display images in the list_display admin frontend?
> >
> > I tried writing a custom method for the model which returned the
> > necessary html to display the image - without success. The custom
> > method in the list_display just returned the raw html..
>
> You need to add the just-documented allow_tags attribute to your
> custom method:
>
> http://code.djangoproject.com/changeset/3358
> 
> Cheers,
> 
> Simon


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Displaying thumbnails in the admin interface

2006-07-19 Thread arthur debert

You should also take a look at nesh's excellent
ImageWIthThumbnailField:

http://djangoutils.python-hosting.com/wiki/Thumbnails

cheers
arthur


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Displaying thumbnails in the admin interface

2006-07-19 Thread Simon Willison

On 19 Jul 2006, at 16:22, kwe wrote:

> Is there a way to display images in the list_display admin frontend?
>
> I tried writing a custom method for the model which returned the
> necessary html to display the image - without success. The custom
> method in the list_display just returned the raw html..

You need to add the just-documented allow_tags attribute to your  
custom method:

http://code.djangoproject.com/changeset/3358

Cheers,

Simon


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Displaying thumbnails in the admin interface

2006-07-19 Thread kwe

Is there a way to display images in the list_display admin frontend?

I tried writing a custom method for the model which returned the
necessary html to display the image - without success. The custom
method in the list_display just returned the raw html..


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---