fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
temporary attributes for bible tags
[redakcja.git]
/
src
/
team
/
admin.py
diff --git
a/src/team/admin.py
b/src/team/admin.py
index
b8c448a
..
6bdca87
100644
(file)
--- a/
src/team/admin.py
+++ b/
src/team/admin.py
@@
-22,6
+22,7
@@
admin.site.register(User, CustomUserAdmin)
@admin.register(models.Presence)
@admin.register(models.Presence)
-class ProfileAdmin(admin.ModelAdmin):
- list_display = ['user', 'timestamp', 'active']
+class PresenceAdmin(admin.ModelAdmin):
+ list_display = ['session_key', 'chunk', 'user', 'since', 'until', 'active']
+ raw_id_fields = ['chunk', 'user']