Commit 7d573204 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg Committed by Luko van der Maas
Browse files

Add starting year field to admin as well

parent c5aeb8da
......@@ -95,12 +95,11 @@ class UserAdmin(BaseUserAdmin):
actions = ['address_csv_export', 'student_number_csv_export']
inlines = (ProfileInline, MembershipInline,)
# FIXME include proper filter for expiration
# https://docs.djangoproject.com/en/1.9/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_filter
list_filter = (MembershipTypeListFilter,
'is_superuser',
AgeListFilter,
'profile__event_permissions',)
'profile__event_permissions',
'profile__starting_year')
add_fieldsets = (
(None, {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment