1. Adam Jordens
  2. django-registration

Commits

James Bennett  committed 0dea270

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

  • Participants
  • Parent commits 9b1955e
  • Branches default

Comments (0)

Files changed (1)

File registration/admin.py

View file
 
 class RegistrationAdmin(admin.ModelAdmin):
     list_display = ('__unicode__', 'activation_key_expired')
+    raw_id_fields = ['user']
     search_fields = ('user__username', 'user__first_name')