comparison piecrust/taxonomies.py @ 242:f130365568ff

internal: Code reorganization to put less stuff in `sources.base`. Interfaces that sources can implement are in `sources.interfaces`. The default page source is in `sources.default`. The `SimplePageSource` is gone since most subclasses only wanted to do *some* stuff the same, but *lots* of stuff slightly different. I may have to revisit the code to extract exactly the code that's in common.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 18 Feb 2015 18:35:03 -0800
parents f485ba500df3
children 6c5de6edacf7
comparison
equal deleted inserted replaced
241:85a6c7ba5e3b 242:f130365568ff
1 from piecrust.sources.base import PageRef, PageNotFoundError 1 from piecrust.sources.pageref import PageRef, PageNotFoundError
2 2
3 3
4 class Taxonomy(object): 4 class Taxonomy(object):
5 def __init__(self, app, name, config): 5 def __init__(self, app, name, config):
6 self.app = app 6 self.app = app