> What you try to store in the pagetemplate is not valid html. But it > allows you to store the source anyway. When you try to render the > pagetemplate it will show that error. Well, in that case a PTRuntimeError should be raised. This exception reports that self.id does not exist. > > raise PTRuntimeError, 'Page Template %s has errors.' % self.id > > AttributeError: id