Tag Archives: Python web

Querying The Models

If you remember the post that we created the models in, you will also remember that TurboGears uses SQLAlchemy for the model part of MVC. Now, we are going to do some practice on querying the models. In the meanwhile, … Continue reading

Posted in Python, SQLAlchemy, TurboGears | Tagged , , , , , | Leave a comment

A Simple Project Management Tool With TurboGears – Templates

We have created our models, created our controller actions and forms. Now we are going to set up our templates. Let’s take a look at the controller action “new_project”: @expose(‘ideas.templates.new_project’) def new_project(self): “”” Displays the project form. “”” return dict(project_form=project_form) … Continue reading

Posted in Mako, Python, Templates, TurboGears | Tagged , , , , , , | 1 Comment

A Simple Project Management Tool With TurboGears – Setting Up the Forms

In the previous post, we have created our Project and Task models. Now we have to create our forms. It is very easy to create forms with TurboGears. In this example we are going to use ToscaWidgets 1 however keep … Continue reading

Posted in Python, ToscaWidgets, TurboGears | Tagged , , , , | Leave a comment

A Simple Project Management Tool With TurboGears – Setting Up the Models

I want you to love TurboGears, understand how to use TurboGears and how to become fully productive with it. For example, I can develop a fully fledged application that would take 3 weeks with something else in 1-1.5 weeks with … Continue reading

Posted in Python, SQLAlchemy, TurboGears | Tagged , , , , , , | 2 Comments

Let’s Install TurboGears

In order to install TurboGears we need Python setuptools and in order to create an isolated environment we need virtualenv package.  Why an isolated environment? With a virtual environment we don’t need to think about our packages clashing. Install requirements: … Continue reading

Posted in Python, TurboGears | Tagged , , , , , , , | 13 Comments

Introduction to TurboGears

Welcome to the TurboGears Log blog. The purpose of this blog is to explore TurboGears from a beginner’s point of view. We will be posting on TurboGears until we feel it’s enough. TurboGears is a powerful, full stack MVC web … Continue reading

Posted in Python, TurboGears | Tagged , , , , | Leave a comment