Commit 52df9688 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

[enh] allow to have a list of domain names that we handle for a member

parent 0c43137f
......@@ -37,7 +37,7 @@ class MemberAdmin(reversion.VersionAdmin, AdminViews):
'fields': (('member_since', 'last_paid_date'), ('is_not_a_member_yet',)),
}),
('Abonnements', {
'fields': (('vpn', 'cube'), ('vpn_is_paid_until', 'vpn_fee_rate')),
'fields': (('vpn', 'cube'), ('vpn_is_paid_until', 'vpn_fee_rate'), ('domain_names_we_handle',)),
}),
('Conseil d\'administration', {
'fields': (('ca_member', 'ca_function'),),
......
......@@ -27,6 +27,8 @@ class Member(models.Model):
vpn_is_paid_until = models.DateField(null=True, blank=True, verbose_name="La costisation VPN est payé jusqu'à")
vpn_fee_rate = models.PositiveIntegerField(default=8, verbose_name="Combien le/la membre paie par mois pour son VPN:", help_text="ceci est à titre INDICATIF")
domain_names_we_handle = models.TextField(null=True, blank=True, verbose_name="Nom de domaines qu'on gère pour le/la membre")
comments = models.TextField(blank=True, null=True, help_text="Random comments regarding the current situation of this member like 'paying vpn by cash' or sometehing like that.")
vpn = models.BooleanField(default=False, verbose_name="a un abonnement vpn")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment