On 12/5/05, Krys Wilken <[EMAIL PROTECTED]> wrote: > > Django has a slug field with is similar. > > From the site: > > SlugField > > "Slug" is a newspaper term. A slug is a short label for something, > containing only letters, numbers, underscores or hyphens. They're > generally used in URLs. > > (http://www.djangoproject.com/documentation/model_api/) > > I believe it has some built in validation to make sure it complies with > that definition. > > This might be a useful addition to TurboGears, whether or not it makes > it into SQLObject directly. > > Just a thought. Django has some good ideas. We can learn from it.
Absolutely. I'm not sure how easy this would be to do with SQLObject 0.7 (or when Ian plans 0.8), but this does seem like a generally useful construct. Kevin

