old_contents: from django.contrib import admin
  from django.core.urlresolvers import reverse
  from django.utils import translation
  
  from babel.numbers import format_currency
  from bluebottle.utils.model_dispatcher import get_fundraiser_model
  
  FUNDRAISER_MODEL = get_fundraiser_model()
  
  
  class FundRaiserAdmin(admin.ModelAdmin):
      list_display = ('title', 'amount_override', 'deadline', 'amount_donated_override')
      raw_id_fields = ('project', 'owner')
  
      search_fields = ('title', 'project__title')
  
      readonly_fields = ('project_link', 'owner_link')
  
      def amount_override(self, obj):
          language = translation.get_language().split('-')[0]
          return format_currency(obj.amount / 100.0, obj.currency, locale=language)
  
      amount_override.short_description = 'amount'
  
      def amount_donated_override(self, obj):
          language = translation.get_language().split('-')[0]
          return format_currency(int(obj.amount) / 100.0, obj.currency, locale=language)
  
      amount_donated_override.short_description = 'amount donated'
  
      def project_link(self, obj):
          object = obj.project
          url = reverse('admin:{0}_{1}_change'.format(object._meta.app_label, object._meta.module_name), args=[object.id])
          return "<a href='{0}'>{1}</a>".format(str(url), object.title)
              
      project_link.allow_tags = True
  
      def owner_link(self, obj):
          object = obj.owner
          url = reverse('admin:{0}_{1}_change'.format(object._meta.app_label, object._meta.module_name), args=[object.id])
          return "<a href='{0}'>{1}</a>".format(str(url), object.first_name + ' ' + object.last_name)
  
      owner_link.allow_tags = True
  
  admin.site.register(FUNDRAISER_MODEL, FundRaiserAdmin)
  
new_contents: from django.contrib import admin
  from django.core.urlresolvers import reverse
  from django.utils import translation
  
  from babel.numbers import format_currency
  from bluebottle.utils.model_dispatcher import get_fundraiser_model
  
  FUNDRAISER_MODEL = get_fundraiser_model()
  
  
  class FundRaiserAdmin(admin.ModelAdmin):
      list_display = ('title', 'amount_override', 'deadline', 'amount_donated_override')
      raw_id_fields = ('project', 'owner')
  
      search_fields = ('title', 'project__title')
  
      readonly_fields = ('project_link', 'owner_link')
  
      def amount_override(self, obj):
          language = translation.get_language().split('-')[0]
          return format_currency(obj.amount / 100, obj.currency, locale=language)
  
      amount_override.short_description = 'amount'
  
      def amount_donated_override(self, obj):
          language = translation.get_language().split('-')[0]
          return format_currency(int(obj.amount) / 100, obj.currency, locale=language)
  
      amount_donated_override.short_description = 'amount donated'
  
      def project_link(self, obj):
          object = obj.project
          url = reverse('admin:{0}_{1}_change'.format(object._meta.app_label, object._meta.module_name), args=[object.id])
          return "<a href='{0}'>{1}</a>".format(str(url), object.title)
              
      project_link.allow_tags = True
  
      def owner_link(self, obj):
          object = obj.owner
          url = reverse('admin:{0}_{1}_change'.format(object._meta.app_label, object._meta.module_name), args=[object.id])
          return "<a href='{0}'>{1}</a>".format(str(url), object.first_name + ' ' + object.last_name)
  
      owner_link.allow_tags = True
  
  admin.site.register(FUNDRAISER_MODEL, FundRaiserAdmin)
  
subject: fix loading of fundraisers list in admin CLUB-1120