from django.contrib import admin

from .models import ValidPasswordResetKey, Invitation, RequestInvite, UserProfile, ActivationKey


admin.site.register(ActivationKey)
admin.site.register(ValidPasswordResetKey)


class InvitationAdmin(admin.ModelAdmin):
    list_display = ('email', 'code', 'valid', 'added')
    search_fields = ('code', 'valid', 'email')

admin.site.register(Invitation, InvitationAdmin)


class RequestInviteAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'user_type', 'organization', 'email', 'added')
    search_fields = ('first_name', 'last_name', 'organization', 'email')

admin.site.register(RequestInvite, RequestInviteAdmin)


class UserProfileAdmin(admin.ModelAdmin):
    list_display = ('user', 'organization_name', 'user_type', 'access_key_id')
    search_fields = ('user',)

admin.site.register(UserProfile, UserProfileAdmin)

89c6dc04c33f8964f5a705419e3255c09bbf2cd5
<mask token>


class RequestInviteAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'user_type', 'organization',
        'email', 'added')
    search_fields = 'first_name', 'last_name', 'organization', 'email'


<mask token>


class UserProfileAdmin(admin.ModelAdmin):
    list_display = 'user', 'organization_name', 'user_type', 'access_key_id'
    search_fields = 'user',


<mask token>

<mask token>


class InvitationAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>


<mask token>


class RequestInviteAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'user_type', 'organization',
        'email', 'added')
    search_fields = 'first_name', 'last_name', 'organization', 'email'


<mask token>


class UserProfileAdmin(admin.ModelAdmin):
    list_display = 'user', 'organization_name', 'user_type', 'access_key_id'
    search_fields = 'user',


<mask token>

<mask token>
admin.site.register(ActivationKey)
admin.site.register(ValidPasswordResetKey)


class InvitationAdmin(admin.ModelAdmin):
    list_display = 'email', 'code', 'valid', 'added'
    search_fields = 'code', 'valid', 'email'


admin.site.register(Invitation, InvitationAdmin)


class RequestInviteAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'user_type', 'organization',
        'email', 'added')
    search_fields = 'first_name', 'last_name', 'organization', 'email'


admin.site.register(RequestInvite, RequestInviteAdmin)


class UserProfileAdmin(admin.ModelAdmin):
    list_display = 'user', 'organization_name', 'user_type', 'access_key_id'
    search_fields = 'user',


admin.site.register(UserProfile, UserProfileAdmin)

from django.contrib import admin
from .models import ValidPasswordResetKey, Invitation, RequestInvite, UserProfile, ActivationKey
admin.site.register(ActivationKey)
admin.site.register(ValidPasswordResetKey)


class InvitationAdmin(admin.ModelAdmin):
    list_display = 'email', 'code', 'valid', 'added'
    search_fields = 'code', 'valid', 'email'


admin.site.register(Invitation, InvitationAdmin)


class RequestInviteAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'user_type', 'organization',
        'email', 'added')
    search_fields = 'first_name', 'last_name', 'organization', 'email'


admin.site.register(RequestInvite, RequestInviteAdmin)


class UserProfileAdmin(admin.ModelAdmin):
    list_display = 'user', 'organization_name', 'user_type', 'access_key_id'
    search_fields = 'user',


admin.site.register(UserProfile, UserProfileAdmin)

from django.contrib import admin

from .models import ValidPasswordResetKey, Invitation, RequestInvite, UserProfile, ActivationKey


admin.site.register(ActivationKey)
admin.site.register(ValidPasswordResetKey)


class InvitationAdmin(admin.ModelAdmin):
    list_display = ('email', 'code', 'valid', 'added')
    search_fields = ('code', 'valid', 'email')

admin.site.register(Invitation, InvitationAdmin)


class RequestInviteAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'user_type', 'organization', 'email', 'added')
    search_fields = ('first_name', 'last_name', 'organization', 'email')

admin.site.register(RequestInvite, RequestInviteAdmin)


class UserProfileAdmin(admin.ModelAdmin):
    list_display = ('user', 'organization_name', 'user_type', 'access_key_id')
    search_fields = ('user',)

admin.site.register(UserProfile, UserProfileAdmin)
