Mercurial > piecrust2
diff piecrust/admin/views/create.py @ 852:4850f8c21b6e
core: Start of the big refactor for PieCrust 3.0.
* Everything is a `ContentSource`, including assets directories.
* Most content sources are subclasses of the base file-system source.
* A source is processed by a "pipeline", and there are 2 built-in pipelines,
one for assets and one for pages. The asset pipeline is vaguely functional,
but the page pipeline is completely broken right now.
* Rewrite the baking process as just running appropriate pipelines on each
content item. This should allow for better parallelization.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 17 May 2017 00:11:48 -0700 |
parents | 82509bce94ca |
children | dcdec4b951a1 |
line wrap: on
line diff
--- a/piecrust/admin/views/create.py Sat Apr 29 21:42:22 2017 -0700 +++ b/piecrust/admin/views/create.py Wed May 17 00:11:48 2017 -0700 @@ -5,7 +5,6 @@ g, request, abort, render_template, url_for, redirect, flash) from flask.ext.login import login_required from piecrust.sources.interfaces import IInteractiveSource -from piecrust.sources.base import MODE_CREATING from piecrust.routing import create_route_metadata from ..blueprint import foodtruck_bp from ..views import with_menu_context