Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (6 sloc) 313 Bytes
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)
Something went wrong with that request. Please try again.