Added support for conflrev documents based on branch /personal/rcross/v4.32@4722, but tweaked to return only the directory, not the full directory+name+ext path, in order to behave the same way as for other document types.

- Legacy-Id: 4779
This commit is contained in:
Henrik Levkowetz 2012-08-22 11:26:50 +00:00
parent d50eef9e66
commit 9bde5b91d6

View file

@ -72,6 +72,8 @@ class DocumentInfo(models.Model):
return os.path.join(settings.AGENDA_PATH, meeting, self.type_id) + "/"
elif self.type_id == "charter":
return settings.CHARTER_PATH
elif self.type_id == "conflrev":
return settings.CONFLICT_REVIEW_PATH
else:
raise NotImplemented