Questions tagged [turbogears]

TurboGears, another open source MVC-style Web application framework based on Python.

It is made up of several pre-existing sub-projects glued together,

  • CherryPy: Base Web framework
  • MochKit: JavaScript library
  • Kid: Templating language
  • SQLObject: Object-relational mapper (ORM)
111 questions
0
votes
1 answer

Running TurboGears2 in Amazon EC2

I would just like to ask if anybody here has run Turbogears2 from an Amazon EC2 instance. I've been looking for a way to do it, but so far searching the Web hasn't given me anything I could use as an example. I did see one…
DMdm
  • 1
  • 4
0
votes
1 answer

Are Turbogears2 apps deployable in Heroku?

I have been googling quite a bit about this topic but have found pretty much nothing about it. Does any body know if it is possible to deploy Turbogears2 apps to Heroku?
Xar
  • 5,913
  • 12
  • 47
  • 67
0
votes
2 answers

TurboGears loads page twice

I have noticed strange thing. When I have in my RootController: class RootController(BaseController): secc = SecureController() error = ErrorController() @expose('app.templates.index') def index(self, **kwargs): print 'Hello…
nu.frix
  • 173
  • 1
  • 6
0
votes
1 answer

Turbogears noobie How can I see the contents of kw before i add them to the database

I am a python/Turbogears noob and I really need your help. I read all the tutorials i could find and believe to be relevant to my problem. I need to create a method/function for the kw to get the keys as the fields extracted from the database and…
0
votes
1 answer

Turbogears on bluehost

Has anyone successfully installed TurboGears or CherryPy on BlueHost? There are listings on the web, but none of them are viable or the links to the scripts are broken. However, Bluehost Tech support claims that some folks are running TurboGears…
DeKoss
  • 431
  • 3
  • 16
0
votes
2 answers

How can I use TurboGears2 auth with PyAMF?

I'm using TurboGears with PyAMF behind a Flex client, and everything works well. What I want to do is expose just a AMF login method to the world, and only allow access to other AMF functions once the user has logged in. Also, once the user is…
Jim Carroll
  • 2,302
  • 17
  • 22
0
votes
1 answer

How to configure ToscaWidgets 2 on a TurboGears 2.2 with mount Proxy deploy

I have a working turbo gears 2.2 website, deployed as a mount reverse-proxy, exp: https://Some-Domain.com/mySite I know how to configure the webserver to work as a mounted site, but I don't know how to do that for ToscaWidgets. Tw2 is looking for…
A-Palgy
  • 981
  • 1
  • 8
  • 23
0
votes
1 answer

Installing TurboGears on windows 7

I tried installing TurboGears 1.0 on Windows 7 using tgsetup.py. and got following error error: Couldn't find a setup script in c:\users\sandre~1\appdata\local\temp\ easy_install-jimbkt\Cheetah-2.4.0.linux-i686.tar.gz When looking into this folder…
Sergej Andrejev
  • 8,543
  • 11
  • 65
  • 107
0
votes
3 answers

Turbogears 2.0 with Python 2.6

I've tried to install TurboGears 2.0 with Python 2.6 on both Windows 7 and Windows XP, but both give the same error: File "D:\PythonProjects\tg2env\Scripts\paster-script.py", line 8, in load_entry_point('pastescript==1.7.3',…
user186218
0
votes
1 answer

SqlAlchemy: proper way to do a bare exists query

I've the following construct which seems to produce the desired SQL: >>> print session.query(exists('1').where(MyTable.name=='x')) SELECT EXISTS (SELECT 1 FROM my_table WHERE my_table.name = :name_1) AS anon_1 However, when I try to execute it…
EoghanM
  • 20,021
  • 21
  • 80
  • 110
0
votes
1 answer

How to pass raw image data in turbogears to mako template for scr=data:image/jpg

I would like to pass raw image data in TurboGears2 to the mako template to use in an img tag (ie., scr=data:image/jpg,base64,${imagedata}). The image is retrieved from sql server image format I have been struggling to do this as everything passed…
stuartz
  • 93
  • 4
  • 9
0
votes
1 answer

Change Turbogears paster serve directory

I'm a bit new to Turbogears, but wondering if someone can help me out... I have TG setup in /var/tg/user/env/ where there are dirs... bin/ include/ lib/ local/ src/ paster.log development.ini I want the paster serve development.ini command to serve…
Vigrond
  • 7,820
  • 4
  • 24
  • 43
0
votes
1 answer

TurboGears2.2.0 install/run error when nosetests and paster setup-app development.ini

I encountered a problem after I finished all process of installing TurboGear2 on my OS X 10.8.2. Using Python2.7, TurboGear2.2.0 The installing process was based on tutorial of official website:…
0
votes
1 answer

Remove all user's cookies/sessions when password is reset

I'm interested in improving security of my TurboGears 2.2 application so that when user changes his password, it logs him out from all sessions and he must login again. The goal is when user changes password on browser 1, he must relogin on browser…
Juraj
  • 830
  • 4
  • 16
0
votes
1 answer

Turbogears. Writing controller methods

The index method is the start point of any TurboGears controller class. Each of the URLs localhost:8080 localhost:8080/ localhost:8080/index is mapped to the RootController.index() method. How can I map localhost:8080 and localhost:8080/ to the…
leshiy
  • 1
  • 1