|
Content with label routes in Pylons Cookbook (See content from all spaces)
Related Labels:
controllers, recipes, tutorial, rest, routing
Adding trailing slash to pages automatically
From a search engine point of view, it is important that every url in your application has one canonical location. It's not true by default in your Pylons app but it is easy to fix. Step 1: Fix url generation. Routes has undocumented appendslash ...
Other labels:
recipes, controllers
|
Alternative controller searching method
Alternative controller searching method This article is in DRAFT status. It needs rewording and style improvement. Documentation masters, please help! :) This article is for advanced users! This article is for Pylons 0.9.6! In older versions the configuration layout is different, but it is still possible to implement this, I ...
Other labels:
controllers, routing
|
Routes for people in a hurry
Introduction Routes handles mapping URL's to controllers and their methods, or 'action's as Routes refers to them. By default, Pylons sets up the following route (found in YOURPROJ/config/routing.py): map.connect(':controller/:action/:id') A part of the path beginning with a {{:}} means that it is a variable ...
Other labels:
rest, tutorial
|
|
|