diff --git a/content/cv.py b/content/cv.py index fa7a773..d8342ba 100644 --- a/content/cv.py +++ b/content/cv.py @@ -337,7 +337,7 @@ lastMod = subobject.ModificationDate() return lastMod -registerType(CV) +registerType(CV, "CV") class Education(ATCTContent): portal_type = meta_type = 'Education' @@ -352,7 +352,7 @@ def _computeTitle(self): return 'Education at ' + self.getInstitute(); -registerType(Education) +registerType(Education, "Education") class Employment(ATCTContent): portal_type = meta_type = 'Employment' @@ -367,7 +367,7 @@ def _computeTitle(self): return 'Employment at ' + self.getCompany(); -registerType(Employment) +registerType(Employment, "Employment") class Publication(ATFile): portal_type = meta_type = 'Publication' @@ -393,7 +393,7 @@ else: return name_list[0] -registerType(Publication) +registerType(Publication, "Publication") class Skill(ATCTContent): portal_type = meta_type = 'Skill' @@ -409,4 +409,4 @@ return 'Skill in ' + self.getCategory(); -registerType(Skill) +registerType(Skill, "Skill")