from django.contrib import admin
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from django.utils.safestring import mark_safe
from django.db.models.fields.files import ImageFieldFile

if 'easy_thumbnails' in settings.INSTALLED_APPS:

    from easy_thumbnails.files import get_thumbnailer
    from easy_thumbnails.exceptions import InvalidImageFormatError

    class AdminThumbnailMixin(object):
        thumbnail_options = {'size': (60, 60)}
        thumbnail_image_field_name = 'image'
        thumbnail_alt_field_name = None
        thumbnail_404 = ""

        def _thumb(self, image, options={'size': (60, 60)}, alt=None):
            media = getattr(settings, 'THUMBNAIL_MEDIA_URL', settings.MEDIA_URL)
            attrs = []
            try:
                src = "%s%s" % (media, get_thumbnailer(image).get_thumbnail(options))
            except InvalidImageFormatError:
                src = self.thumbnail_404
            if alt is not None: attrs.append('alt="%s"' % alt)

            return mark_safe('<img src="%s" %s />' % (src, " ".join(attrs)))

        def thumbnail(self, obj):
            kwargs = {'options': self.thumbnail_options}
            if self.thumbnail_alt_field_name:
                kwargs['alt'] = getattr(obj, self.thumbnail_alt_field_name)
            return self._thumb(getattr(obj, self.thumbnail_image_field_name), **kwargs)
        thumbnail.allow_tags = True
        thumbnail.short_description = _('Thumbnail')

@@ -219,16 +219,1382 @@
 ldFile%0A%0A
+from django.contrib import admin%0Afrom django.contrib.auth.models import User%0A%0A%0Aclass UserDisplayAdminMixin(admin.ModelAdmin):%0A    %22%22%22%0A    In addition to showing a user's username in related fields, show their full%0A    name too (if they have one and it differs from the username).%0A%0A    author: SmileyChris%0A    http://djangosnippets.org/snippets/1642/%0A    %22%22%22%0A    always_show_username = True%0A%0A    def formfield_for_foreignkey(self, db_field, request=None, **kwargs):%0A        field = super(NiceUserModelAdmin, self).formfield_for_foreignkey(%0A                                                db_field, request, **kwargs)%0A        if db_field.rel.to == User:%0A            field.label_from_instance = self.get_user_label%0A        return field%0A%0A    def formfield_for_manytomany(self, db_field, request=None, **kwargs):%0A        field = super(NiceUserModelAdmin, self).formfield_for_manytomany(%0A                                                db_field, request, **kwargs)%0A        if db_field.rel.to == User:%0A            field.label_from_instance = self.get_user_label%0A        return field%0A%0A    def get_user_label(self, user):%0A        name = user.get_full_name()%0A        username = user.username%0A        if not self.always_show_username:%0A            return name or username%0A        return (name and name != username and '%25s (%25s)' %25 (name, username)%0A                or username)%0A%0A%0A
 if 'easy

Update webcore/utils/admin.py