from django.contrib import admin

from registration.models import RegistrationProfile


class RegistrationAdmin(admin.ModelAdmin):
    list_display = ('__unicode__', 'activation_key_expired')
    search_fields = ('user__username', 'user__first_name')


admin.site.register(RegistrationProfile, RegistrationAdmin)

@@ -185,16 +185,45 @@
 pired')%0A
+    raw_id_fields = %5B'user'%5D%0A
     sear

Use raw_id_fields for the relation from RegistrationProfile to User, for sites which have huge numbers of users.