[web2py] Re: for those of us who do not understand ...

2016-03-05 Thread eric cuver
it's very good thanks massimo Le samedi 5 mars 2016 23:36:28 UTC+1, Massimo Di Pierro a écrit : > > You can also compare this: > >http://mdipierro.github.io/stupid.css/themes/landing-page.html > > with this: > >http://blackrockdigital.github.io/startbootstrap-landing-page/ > > The convers

[web2py] Re: logical operators in sql query

2016-03-05 Thread Anthony
If you are using SQLite and the field type was originally string a later changed to integer after inserting some records, note that SQLite will not actually change the column type, so the numbers will remain stored as strings, affecting the way comparisons are done. See http://web2py.com/books

[web2py] logical operators in sql query

2016-03-05 Thread szande333
the following lookup table stores prices based on a width and drop db.define_table('rb_prices', Field('rb_width', type='integer'), Field('rb_drop', type='integer'), Field('rb_fabric_group', type='integer'), Field('rb_price', type='int

[web2py] Re: Django guys get a job easily. Why don't web2py guys get a job? How to get a job?

2016-03-05 Thread Massimo Di Pierro
I am sure there are 10x more PHP jobs than Django jobs, 10x Java jobs than PHP jobs. To me you are asking the wrong question. web2py is a tool. Jobs where they force you to use a tool and do not let you choose your own tools are not good jobs. In any case, if you know web2py, using Django is no

[web2py] Django guys get a job easily. Why don't web2py guys get a job? How to get a job?

2016-03-05 Thread RAGHIB R
I am in a very pathetic situation. I know web2py but now I realise learning Django would have been better. Am I wrong? -- 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

[web2py] Re: for those of us who do not understand ...

2016-03-05 Thread Dave S
On Saturday, March 5, 2016 at 10:14:48 AM UTC-8, Ron Chatterjee wrote: > > For some reason, I could run the app out of box, it gives me this error > (attached). Is there a config file is missing? > > Yes, which you could have inferred from my first comment. /dps > On Saturday, March 5, 201

[web2py] Re: Subprocess Internal Server error

2016-03-05 Thread Dave S
On Saturday, March 5, 2016 at 4:08:58 PM UTC-8, Francisco Betancourt wrote: > > Hi. I have an app that has been in production for about two years. Today I > moved the application and everything went well except for a small function > that uses subprocess call with phantomjs to generate a pdf fi

[web2py] Re: for those of us who do not understand ...

2016-03-05 Thread Massimo Di Pierro
Another example: http://mdipierro.github.io/stupid.css/themes/gallery.html On Saturday, 5 March 2016 16:36:28 UTC-6, Massimo Di Pierro wrote: > > You can also compare this: > >http://mdipierro.github.io/stupid.css/themes/landing-page.html > > with this: > >http://blackrockdigital.github

[web2py] Subprocess Internal Server error

2016-03-05 Thread Francisco Betancourt
Hi. I have an app that has been in production for about two years. Today I moved the application and everything went well except for a small function that uses subprocess call with phantomjs to generate a pdf file, it used to work fine, but now I get a Internal Server Error. The controller loo

[web2py] Re: for those of us who do not understand ...

2016-03-05 Thread Massimo Di Pierro
You can also compare this: http://mdipierro.github.io/stupid.css/themes/landing-page.html with this: http://blackrockdigital.github.io/startbootstrap-landing-page/ The conversion took about 5 minutes (manually). Look at the differences in the html source. On Saturday, 5 March 2016 15:47

[web2py] Re: add value to dropdown list

2016-03-05 Thread 黄祥
it's hard to tell without seeing the code in your models, dropdown list in form usually come either you set the table field reference to another table or you set the table field as string and have validation requires IS_IN_SET() if the table field is reference to another table, it's simply just

[web2py] Re: for those of us who do not understand ...

2016-03-05 Thread Massimo Di Pierro
Anyway, you can check out stupid with web2py here: http://experts4solutions.com/stupid On Saturday, 5 March 2016 15:41:01 UTC-6, Massimo Di Pierro wrote: > > yes. I added it. > > I also changed http://mdipierro.github.io/stupid.css/index.html adding > more stuff. Now if you click on the example

[web2py] add value to dropdown list

2016-03-05 Thread Steve
Goodevening, I have a question about using a dropdown list. What i would like is that someone can select an item from a dropdown list ( so far so good) but when the item is not available i would like the oppotunity to add the item to the list. It would be nice that after adding itm to the list t

[web2py] Re: for those of us who do not understand ...

2016-03-05 Thread Massimo Di Pierro
yes. I added it. I also changed http://mdipierro.github.io/stupid.css/index.html adding more stuff. Now if you click on the examples (?) it shows the source. On Saturday, 5 March 2016 12:14:48 UTC-6, Ron Chatterjee wrote: > > For some reason, I could run the app out of box, it gives me this err

[web2py] Re: web2py 2.13.3 is OUT

2016-03-05 Thread Literate Aspects
Just have to say THANK YOU, for your incredible contributions. Cordially, benYAH On Thursday, December 24, 2015 at 7:21:42 AM UTC-8, Massimo Di Pierro wrote: > > web2py 2.13.3 is out. MERRY CHRISTMAS EVERYBODY!!! > > It contains some bug fixes for bugs introduced in 2.13.1-2 and most > importa

[web2py] Re: for those of us who do not understand ...

2016-03-05 Thread Ron Chatterjee
For some reason, I could run the app out of box, it gives me this error (attached). Is there a config file is missing? On Saturday, March 5, 2016 at 1:35:20 AM UTC-5, Massimo Di Pierro wrote: > > > > On Friday, 4 March 2016 18:56:36 UTC-6, Dave S wrote: >> >> >> >> On Friday, March 4, 2016 at 4:0

[web2py] Re: connect existing tables with legacy date format

2016-03-05 Thread yellofam
thank you for the suggestion Dave. I will give it a try and let you know the result. On Wednesday, March 2, 2016 at 11:23:51 PM UTC-8, yell...@gmail.com wrote: > > Hi, > > db = DAL(..., migrate_enable=False) > > db.define_table('table', Field('fld01'), Field('fld02'),'integer',length=7) > > db.fl

[web2py] Re: date format CYYMMDD

2016-03-05 Thread yellofam
THank you I will check that. On Thursday, March 3, 2016 at 12:37:11 AM UTC-8, Dave S wrote: > > On Wednesday, March 2, 2016 at 11:23:53 PM UTC-8, yell...@gmail.com wrote: >> >> >> I like to convert date format field in DAL from CYYMMDD to MMDDYY and use >> SQLFORMgrid to present on the view. >>

[web2py] Re: Using Scheduler to delete database rows older than a timestamp

2016-03-05 Thread Niphlod
that's when help comes in :-P On Friday, March 4, 2016 at 10:27:25 PM UTC+1, Dave S wrote: > > On Friday, March 4, 2016 at 12:42:22 PM UTC-8, Niphlod wrote: >> >> operationally it doesn't change a thing. >> But (and it's a big but) your status check adds a query for each and >> every request: db