publish log in admin
[redakcja.git] / src / team / admin.py
1 from django.contrib import admin
2 from . import models
3
4
5 @admin.register(models.Profile)
6 class ProfileAdmin(admin.ModelAdmin):
7     list_display = ['user', 'presence']
8
9
10 @admin.register(models.Presence)
11 class ProfileAdmin(admin.ModelAdmin):
12     list_display = ['user', 'timestamp', 'active']
13