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.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 1825335fd..ca4055fb2 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2675,6 +2675,8 @@ post_delete.connect(post_save_cache, sender=ProfileType)
class UserProfile(models.Model):
profile_type = models.ForeignKey(
ProfileType, verbose_name=_(u"Profile type"))
+ areas = models.ManyToManyField("Area", verbose_name=_(u"Areas"),
+ blank=True, related_name='profiles')
current = models.BooleanField(_(u"Current profile"), default=False)
person = models.ForeignKey(
Person, verbose_name=_(u"Person"), related_name='profiles')