On 21 Jun 2007, at 08:12, iain duncan wrote:
Thanks Diez ( again! ). What I would really like to do is make the
number of some certain fields vary with a dynamic value from the
db. I'm
not clear from the above whether that is possible. Does the example
above mean that the number of
Hi Sam,
This is expected behavior. If you're using ActiveMapper/assignmapper
(actually anything that uses SessionContextExt), when you create an object,
SA automatically binds it to the current session. You can use session.clearor
session.expunge, as you've discovered. I believe there is also a
On 6/21/07, SamDonaldson [EMAIL PROTECTED] wrote:
Hello,
I ran into a complex bug where I found the following: I wrote a query
in my model.py where I return a list of tuples that sqlalchemy returns
to me, and then, to convert those tuples into objects, I wrap my
sqlalchemy class
andresj schrieb:
Hello, I tried the 20 Minute Wiki tutorial, but when i run 'python
start-andresj.py' (andresj was the name of the project), it had an
error:
socket.gaierror: (-2, 'Name or service not known')
can someone help me please? thank you in advance... :)
Maybe there is something
Hello, I tried the 20 Minute Wiki tutorial, but when i run 'python
start-andresj.py' (andresj was the name of the project), it had an
error:
socket.gaierror: (-2, 'Name or service not known')
that was the last line of the error message. all the info was:
2007-06-21 18:55:49,141 cherrypy.msg
Hello,
I'm trying to use TGNewTraversal and need some explaination :
My urls have the following form : /X, /X/admin, /X/admin/subadmin,
/X/update, etc...
I first played with childFactory and it works well for the X level.
class Root(RootResource):
...
def childFactory(self, id):
return
Thanks all. I have switched to use SQLAchemy.Your help is
appreciated. I am now able to query the database. Now I just need to
learn everything else ;)
On Jun 21, 9:51 am, Bruce Webber [EMAIL PROTECTED] wrote:
Glenn,
Can you show us the controller method which exposes the template?
Hi,
I'd like to inform you that tgcrud, the TurboGears CRUD(create, read,
update, delete) interface generator, was released the 1.0 version.
With tgcrud you could get the rapid admin interface(a package of
controller.py and templates set) based on your model.
It makes you repeat less on basic
On Fri, 2007-22-06 at 17:36 +, gasolin wrote:
Hi,
I'd like to inform you that tgcrud, the TurboGears CRUD(create, read,
update, delete) interface generator, was released the 1.0 version.
With tgcrud you could get the rapid admin interface(a package of
controller.py and templates set)
With latest versions of Firefox and Internet Explorer, the raw RSS 2.0
feeds that I generate using a class extended from FeedController can
be displayed directly in the browser.
However, when using slightly older versions of those browsers the RSS
2.0 apparently isn't able to be displayed in the
buffalob schrieb:
Or other suggested approach ideas for me?
I think you're missing the point. RSS feeds are not for direct display.
If you want to display the data in a RSS feed, send it through another
Kid/Genshi template that generates (X)HTML.
Chris
Fred, that sounds great, I'm going to check it out today! Quick
question, how does tgcruds url scheme stack up as a restful interface?
Is is done in a form that makes sense to extend for web serviced
scenarios?
Thanks so much! Yay SA + crud!
Iain
There's a mindmap figure in doc site to
Thanks Chris.
I understand that very well, but some users of my feeds might want
direct visual display before deciding whether to subscribe to it.
Some readers have preview but others don't. Latest browser versions
make this irrelevant and automatically will display my TG-generated
RSS feed
hi,
I noticed Django has a free online version of their book:
http://www.djangobook.com/en/beta/
Will TurboGears do this eventually? Are there license restrictions
with Prentice Hall?
I have the TurboGears book but my online Safari version will expire
soon.
Richard
I have a very simple Kid template with the tag:
title Viewing ${video.video_name}/title
which CherryPy complains, AttributeError: 'SelectResults' object has
no attribute 'video_name'
However, if I replace this tag with:
title ${video}/title
then the page shows the whole record, including the
I'm not sure if this is intentional behavior, but when I run tg-admin
sql create the column default settings are not being added to the
table.
I define a column like this...
Column(bookmark, Boolean, default=False, index=True),
If the Turbogears program was the only program to insert into
16 matches
Mail list logo