[web2py] Re: A blog app with no models - to include in /appliances

2012-07-18 Thread rdodev
Excellent example, Bruno. On Monday, July 16, 2012 10:08:19 PM UTC-4, rochacbruno wrote: > > The download is here: > > > https://github.com/downloads/rochacbruno/web2py_model_less_app/web2py.app.modellessapp.w2p > > The screenshots: > > Home (post listing) > > [image: Inline image 1] > > Show pos

[web2py] Re: A blog app with no models - to include in /appliances

2012-07-16 Thread Massimo DiPierro
Can you please resend me the updated w2p file and a screenshot? On Jul 16, 2012, at 4:31 PM, Bruno Rocha wrote: > Hi, > > I just found that my example of Model Less Blog is not listed in > web2py.com/appliances > > This app can be a start point for those who want to test and improve the > Mod

[web2py] Re: A blog app with no models - to include in /appliances

2012-07-16 Thread Bruno Rocha
Also, I will change the way datamodels are defined, I learned a good trick from my use of Django. *Instead of:* class Post(object): tablename = "post" def set_propertieds(self): self.fields = [ Field("name"), Field("email"), ] *We can do:*