|
@@ -84,6 +84,10 @@ class ISPInfo(SingleInstanceMixin, models.Model):
|
|
|
max_length=254, blank=True, verbose_name="contact de support",
|
|
|
help_text="Adresse email pour les demandes de support technique")
|
|
|
|
|
|
+ lists_url = models.URLField(
|
|
|
+ verbose_name="serveur de listes", blank=True,
|
|
|
+ help_text="URL du serveur de listes de discussions/diffusion")
|
|
|
+
|
|
|
@property
|
|
|
def memberCount(self):
|
|
|
"""Number of members"""
|
|
@@ -100,10 +104,6 @@ class ISPInfo(SingleInstanceMixin, models.Model):
|
|
|
return API_VERSION
|
|
|
|
|
|
@property
|
|
|
- def lists_url(self):
|
|
|
- return self.otherwebsite_set.filter(name__iexact='listes.url')
|
|
|
-
|
|
|
- @property
|
|
|
def main_chat_verbose(self):
|
|
|
m = utils.re_chat_url.match(self.chatroom_set.first().url)
|
|
|
return '{channel} sur {server}'.format(**(m.groupdict()))
|