setup A TurboGears2 project using ming as an ORM for mongodb. I\'m 开发者_如何学Goused to working with relational databases and the Django ORM.
I have an XML file in /my_project/public/xml/file.xml, that I want to read and parse it in one method in controller. The file can be easily accessed through a template, bu开发者_如何学编程t I have no
I have a controller for a contact page similar to the following: @expose(\'project.templates.contacts\')
I was trying to run tg-admin in ubuntu 11.04 on python 2.7 but I keep having an error shown below, but later I was able to run it using python 2.6 like this :
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
I did try to开发者_开发百科 return a data list as result in my web application. For example @expose(\'json\')
i want to modify authentication behaviour so that the whole process can be done on the client side through xhr. so for example when i sumbit the login form login_handler would return a some json data
I\'m subclassing the CrudRestController to implement an REST interface. It works fine, but the response dict contains an __actions__ entry which contains some html code that I really don\'t want in my
I have been recently trying out crudRESTController in TG2.1. Overall, I found that-- 1] The community is helpful.
I have created a html table (using TG2.1 with mako) for a file from MySQL db. Now I would like to provide for \"Edit / Delete\" a particul开发者_运维技巧ar row (record), by selecting that row in table