On Thursday, March 31, 2011 4:04:31 PM UTC-4, Jonathan Lundell wrote: 
>
> What if they want hyphens? While app names are indeed file names, they're 
> also used for other purposes within web2py. As somebody pointed out, they 
> might well appear in an import statement, in which case they'd need to be 
> valid Python identifiers--no hyphens. 
>
> I think we ought to stay safe and require that a/c/f all be valid Python 
> identifiers, and give users the option of presenting underscores as hyphens 
> in URLs. I agree, though, that translation should probably not be the 
> default (as it is now).
>
I think the current default makes sense, given that in most cases we would 
want the translation turned on (particularly if we are encouraging/requiring 
that a/c/f all be valid Python identifiers).

Reply via email to