summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 4662bcc35..0e5a39c1f 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1098,7 +1098,10 @@ class CustomForm(models.Model):
help_text=_("Apply this form to all users. If set to True, selecting "
"user and user type is useless."))
users = models.ManyToManyField('IshtarUser', blank=True)
- user_types = models.ManyToManyField('PersonType', blank=True)
+ user_types = models.ManyToManyField(
+ 'PersonType', blank=True,
+ help_text=_("Deprecated - use profile types"))
+ profile_types = models.ManyToManyField("ProfileType", blank=True)
objects = CustomFormManager()
SERIALIZATION_EXCLUDE = ("users", )