Example #1
0
 def create_admin_content(self):
   admin_content = Content()
   admin_content.title = "New User Registration " + self.ws.site.title
   admin_content.content = template.render('defaults/admin/admin_notify.html',{
     "site" : self.ws.site
   })
   return admin_content
Example #2
0
 def create_user_content(self):
   content = Content()
   content.title = "Registration Confirmation :: " + self.ws.site.title
   content.content = template.render('defaults/register_notify.html', {
     "site" : self.ws.site
   })
   return content