old_contents: # -*- coding: utf-8 -*-
  
  """Django admin configuration for the Gold Membership app."""
  
  from django.contrib import admin
  
  from .models import GoldUser
  
  
  class GoldAdmin(admin.ModelAdmin):
      model = GoldUser
      raw_id_fields = ('user', 'projects')
      list_display = ('user', 'level', 'modified_date', 'subscribed')
      list_filter = ('level',)
  
  
  admin.site.register(GoldUser, GoldAdmin)
  
new_contents: # -*- coding: utf-8 -*-
  
  """Django admin configuration for the Gold Membership app."""
  
  from django.contrib import admin
  
  from .models import GoldUser
  
  
  class GoldAdmin(admin.ModelAdmin):
      model = GoldUser
      raw_id_fields = ('user', 'projects')
      list_display = ('user', 'level', 'modified_date', 'subscribed')
      list_filter = ('level',)
      search_fields = ('projects__slug', 'user__email', 'user__username', 'stripe_id')
  
  
  admin.site.register(GoldUser, GoldAdmin)
  
subject: Allow searching in the Django Admin for gold (#6001)