hi,

(actual from-svn-trunk django)

let's have the following model:


==============================
class Image(Model):
     name = CharField(maxlength=50)
     pic = ImageField(upload_to='images')

     class Admin:
         list_display = ('pic','name',)
==============================



if you open the 'object list' view of this in the admin-interface, you
get this error:


===============================
Traceback (most recent call last):
File "/Users/gabor/src/django_src/django/template/__init__.py" in
render_node
   688. result = node.render(context)
File "/Users/gabor/src/django_src/django/template/__init__.py" in render
   844. dict = func(*args)
File
"/Users/gabor/src/django_src/django/contrib/admin/templatetags/admin_list.py" 

in result_list
   185. return {'cl': cl,
File
"/Users/gabor/src/django_src/django/contrib/admin/templatetags/admin_list.py" 

in results
   182. yield list(items_for_result(cl,res))
File
"/Users/gabor/src/django_src/django/contrib/admin/templatetags/admin_list.py" 

in items_for_result
   155. from django.parts.media.photos import get_thumbnail_url

   ImportError at /admin/proj1/imagish/
   No module named parts.media.photos
=================================


i looked around on the mailing list archives, and found that this module 
was removed:
http://groups.google.com/group/django-developers/browse_frm/thread/4b953be9c9a9fda9/4bff07c04d53ddc3

but that did not help much :(

gabor


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

Reply via email to