Guest User

Untitled

a guest
Jul 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. class PrestigeContentInitializer(PluginBase):
  2. '''
  3. Base class for plugins that perform some additional initialization actions
  4. for newly instantiated Prestige content items.
  5. '''
  6.  
  7. def init_content(self, pritem, **kwargs):
  8. '''
  9. Implementations of this plugin inteface can override this method to
  10. perform extra initialization for a content item.
  11. '''
  12. raise NotImplementedError()
  13.  
  14.  
  15. class PolpolyContentInitializer(PluginBase):
  16. '''
  17. Base class for plugins that perform some additional initialization actions
  18. for newly instantiated Polopoly content items.
  19. '''
  20.  
  21. def init_content(self, poitem, **kwargs):
  22. '''
  23. Implementations of this plugin inteface can override this method to
  24. perform extra initialization for a content item.
  25. '''
  26. raise NotImplementedError()
Add Comment
Please, Sign In to add comment