diff options
author | Alban Gruin | 2017-01-22 18:21:49 +0100 |
---|---|---|
committer | Alban Gruin | 2017-01-22 18:21:49 +0100 |
commit | 6a9464882f74bc8a85ad86d098f8b4da04c854ca (patch) | |
tree | 155564608e89787629069adc358aa8c812590ed9 /admin.py | |
parent | 35ecadcbe283b2c1368141be5bec16d66c443f7c (diff) |
Génération automatique d'un token
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -27,6 +27,7 @@ class GroupAdmin(admin.ModelAdmin): @admin.register(Subscription) class SubscriptionAdmin(admin.ModelAdmin): list_display = ("email", "group", "active",) + readonly_fields = ("token",) @admin.register(Room) |