from django.contrib import admin
from .models import Profile, Skill, DutyTime, Group

admin.site.register(Profile)
admin.site.register(Skill)
admin.site.register(DutyTime)
admin.site.register(Group)

from django.contrib import admin
from .models import Profile, Skill, DutyTime, Group


class ProfileAdmin(admin.ModelAdmin):
    list_filter = (
        ('tos_accepted', admin.BooleanFieldListFilter),
    )


admin.site.register(Profile, ProfileAdmin)
admin.site.register(Skill)
admin.site.register(DutyTime)
admin.site.register(Group)

Add filtering option to see profiles that have not accepted new tos
Add filtering option to see profiles that have not accepted new tos
