Hi 
I have last version of web2py, I dont understand why  all  buttons don't 
showing.I have only text link. 

In my school project for city of Tours, I try to build this form with 
web2py, 
https://www.blablacar.fr/offer-seats/1
About "Etapes" to add city,I need really some advice,? Can I build it  with 
SQLFORM.factory? or JQUERY?
 I know, web2py is really powerfull, It is very hard to understand all 
concept in web2py 

Do I need to use list:string  ? 

Does my model in web2py is ok?
 
FREQUENCES=('Quotidien','Exceptionnel','Weekend','Samedi','Dimanche')
TYPE_TRAJETS=('Aller','Retour','Aller-Retour')
FUMEUR=('Oui','Non','Indifférent')
db.define_table(
                't_trajets',
                Field('membre_voiture_id','reference t_voitures'),
                Field('lieu_depart_id','reference t_villes'),
                Field('lieu_arrive_id',db.t_villes),
                Field('depart_le','datetime'),
                
Field('frequence',requires=IS_IN_SET(FREQUENCES),default=FREQUENCES[0]),
                
Field('type',requires=IS_IN_SET(TYPE_TRAJETS),default=TYPE_TRAJETS[0]),
                
Field('fumeur',requires=IS_IN_SET(FUMEUR),default=FUMEUR[1]),
                Field('commentaire','text'),
                Field('prix','integer'),
                Field( 'place_offert','integer'),
                auth.signature
                )
db.define_table('t_etapes_ville',
        Field('trajet_id','reference t_trajets'),
        Field('ville_id','reference t_villes'),
        Field('ordre_depart','integer'),

               )
db.define_table('t_villes',
                Field('dep', type='string', notnull=True,
                      label=T('DĂ©partement')),
                Field('nom', type='string', notnull=True,
                      label=T('ville')),
                Field('code_postal', type='string', notnull=True,
                      label=T('Code postal')),
                Field('longitude_deg', type='float', notnull=True,
                      label=T('Longitude')),
                Field('latitude_deg', type='float', notnull=True,
                      label=T('Latitude')),
                format='%(nom)s %(code_postal)s'
               )
Many Thx

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to