summaryrefslogtreecommitdiff
path: root/chimere/main/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/main/forms.py')
-rw-r--r--chimere/main/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/main/forms.py b/chimere/main/forms.py
index f2490da..ef13dc8 100644
--- a/chimere/main/forms.py
+++ b/chimere/main/forms.py
@@ -51,7 +51,7 @@ def notifyStaff(subject, body, sender=None):
return True
def notifySubmission(geo_object):
- category = unicode(geo_object.subcategory)
+ category = u" - ".join([unicode(cat) for cat in geo_object.categories.all()])
subject = u'%s %s' % (_(u"New submission for"), category)
message = _(u'The new item "%s" has been submited in the category: ') % \
geo_object.name + category