Error: Twitter did not respond. Please wait a few minutes and refresh this page.
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
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
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
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
Now that you have learnt what is TurboGears and how to install it, you want to get your hands dirty with it. This is really nice. I’m glad you’ve decided to do that. You won’t regret this decision. TurboGears is … Continue reading
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