From 24fe9cf869fad1a211b0545ef3ff9a8bb9dc2854 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Wed, 11 Jul 2018 01:40:06 +0200 Subject: [PATCH] Methode str pour les clefs radius --- preferences/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/preferences/models.py b/preferences/models.py index a6905d73..391ed21d 100644 --- a/preferences/models.py +++ b/preferences/models.py @@ -284,6 +284,9 @@ class RadiusKey(AclMixin, models.Model): ("view_radiuskey", "Peut voir un objet radiuskey"), ) + def __str__(self): + return "Clef radius " + str(self.id) + " " + str(self.comment) + class Reminder(AclMixin, models.Model): """Options pour les mails de notification de fin d'adhésion.