Christopher Arndt schrieb: > I was under the impression, that it should be possible to use TG 1.x > without an ORM with a default installation and a project without > identity. Am I missing something here?
No, it should be absolutely possible to use TG without any database. > Looking at the source, it seems that the quickstart template for > "controllers.py" should not check > > #if sqlobject == 'True' > > but > > #if identity == 'sqlobject' > > since sqlobject will be set to True by default, even for projects > without identity, if no other ORM is requested. > > Should I file a bug ticket? You mean these checks at the beginning of controllers.py_tmpl? I think you can simply change that. Or let me know if I shall do it. I would also move this from controllers to start-+package+.py_tmpl. > A second but related issue: I wasn't able to start the toolbox either > with "tg-admin toolbox", because this tried to import Catwalk, which in > turn tried to import SQLObject and failed. This happens regardless of > whether there is a dburi defined in dev.cfg or not. I thought that the > toolbox used to work without SQLobject in the past, but my memory may be > false. IMHO turbogears.toolbox.base.Toolbox.get_tools() should check > whether a toolbox component needs an ORM installed or at least catch > import errors and issue a warning that the component that failed to load > will not work. Bug or enhancement ticket? This should be fixed before the next release. Reopened ticket #1620. > I think we definitely need a buildbot and a testing framework for the > quickstart templates. Yes. And we already discussed that they also need refactoring in 1.1. -- Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
