From 2c54bf7d559228247e325c2cf3d6ac10aee49095 Mon Sep 17 00:00:00 2001 From: Kasper Brandt Date: Thu, 5 Jun 2014 13:08:43 +0200 Subject: [PATCH] [#608] Changed organisation account types --- akvo/rsr/models.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/akvo/rsr/models.py b/akvo/rsr/models.py index 7421a86807..659d407e1f 100644 --- a/akvo/rsr/models.py +++ b/akvo/rsr/models.py @@ -535,14 +535,17 @@ class Meta: class OrganisationAccount(models.Model): """ - This model keps track of organisation account levels and other relevant data. + This model keeps track of organisation account levels and other relevant data. The reason for having this in a separate model form Organisation is to hide it from the org admins. """ + ACCOUNT_LEVEL = ( ('free', u'Free'), - ('plus', u'Plus'), + ('freemium', u'Freemium'), ('premium', u'Premium'), + ('plus', u'Premium Plus'), + ('archived', u'Archived'), ) organisation = models.OneToOneField(Organisation, verbose_name=u'organisation', primary_key=True) account_level = ValidXMLCharField(u'account level', max_length=12, choices=ACCOUNT_LEVEL, default='free')