[web2py] Re: character special in DAL

2011-03-14 Thread Massimo Di Pierro
It is the database engines that do not suport special chars in table names and field names. On Mar 11, 6:45 pm, cabildocl wrote: > Is this to be? "web2py or python? > > On 9 mar, 19:31, Massimo Di Pierro wrote: > > > > > > > > > you cannot. You can have a field.label with the id but not in the >

[web2py] Re: character special in DAL

2011-03-14 Thread cabildocl
I solved this so: def crear(): response.subtitle ='Prueba' form=crud.create(db.sipfriends) if form.accepts(request.vars, session): session.name = form.vars.name session.calllimit = form.vars.calllimit redirect(URL('complemento')) return dict(form=form) def c

[web2py] Re: character special in DAL

2011-03-11 Thread cabildocl
Is this to be? "web2py or python? On 9 mar, 19:31, Massimo Di Pierro wrote: > you cannot. You can have a field.label with the id but not in the > field name. > > On Mar 9, 6:51 am, cabildocl wrote: > > > I need create a field in DAL, what include a character special "-". > > How i can do this? >

[web2py] Re: character special in DAL

2011-03-09 Thread Massimo Di Pierro
you cannot. You can have a field.label with the id but not in the field name. On Mar 9, 6:51 am, cabildocl wrote: > I need create a field in DAL, what include a character special "-". > How i can do this? > > Greetings