On Jun 5, 1:52 am, Kless <[email protected]> wrote: > * Where to add a class which is be going to be subclassed to create > the models? > > -------------------- > # where to put this one? > class MongoBase(object): > pass
In model/base.py? That's what I do. > # this class goes in 'model/' directory > class User(MongoBase): > pass > -------------------- > > * Where (in which file) to add any class attributes to be used by the > models? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
