From 94ab244f121fa1bf8df57f75fad9da5f5f39c594 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 12 Jul 2011 19:21:11 -0400 Subject: - The ``Configurator.add_route`` method allowed two routes with the same route to be added without an intermediate ``config.commit()``. If you now receive a ``ConfigurationError`` at startup time that appears to be ``add_route`` related, you'll need to either a) ensure that all of your route names are unique or b) call ``config.commit()`` before adding a second route with the name of a previously added name or c) use a Configurator that works in ``autocommit`` mode. --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 637f7e49b..4ff8689ce 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,8 +4,6 @@ Pyramid TODOs Must-Have --------- -- add_route discriminator wrong - - tutorial models.initialize_sql doesn't match scaffold (DBSession.rollback()/transaction.abort() in scaffold vs. "pass" in tutorial) -- cgit v1.2.3