Re: [web2py] testing applications

2017-04-16 Thread Carlos Cesar Caballero Díaz
Hi, there is no problem using the webclient approach, the problem is when I am using the web2pyenv approach ( simulating web2py shell environment), I find it very useful in some cases, but I can't use it with pages that requires registered users. Greetings. El 15/04/17 a las 20:54, Marlysson

[web2py] Re: CKEditor CDN

2017-04-16 Thread Alex Glaros
"basic" works to fix sanitation problem https://cdn.ckeditor.com/4.6.2/basic/ckeditor.js";> -- 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

[web2py] Re: Making application looks better.

2017-04-16 Thread LoveWeb2py
These are beautiful! We should start a collection of scaffolding templates... On Thursday, April 13, 2017 at 6:38:52 AM UTC-4, akshay0...@gmail.com wrote: > > Hello web2py team, > I just started using web2py for my application. When i am going > deeper with my application, i am facing

[web2py] Re: UPDATE BOOTSTRAP VERSION FROM 3 TO 4

2017-04-16 Thread Anthony
Different versions of Bootstrap involve not just changes to CSS and JS files -- the structure of the HTML and the class names use also change. So you have to make changes to layout.html and other templates, formstyles, etc. Anthony On Wednesday, April 12, 2017 at 8:46:50 AM UTC-4, Áureo Dias

[web2py] Re: Select filled with years

2017-04-16 Thread 黄祥
you can use requires = IS_IN_SET() validators for that : ref: http://web2py.com/books/default/chapter/29/07/forms-and-validators#Range--set-and-equality-validators perhaps you can use for loop for that, so that you dont define the years by yourself best regards, stifan -- Resources: -

[web2py] Re: CKEditor CDN

2017-04-16 Thread Alex Glaros
thanks Dave, below worked, but sanitize=True removes tables and other elements that user creates so I have to read documentation on how to remove those buttons from the toolbar. https://cdn.ckeditor.com/4.6.2/standard/ckeditor.js";> What is your name?

[web2py] Re: Select filled with years

2017-04-16 Thread Winter Kryz
Thanks, but how can I do the loop thing. I'm new on web2py so I don't know how to do that. Can you explain me please? El domingo, 16 de abril de 2017, 21:09:55 (UTC-3), 黄祥 escribió: > > you can use requires = IS_IN_SET() validators for that : > ref: > >

Re: [web2py] testing applications

2017-04-16 Thread 黄祥
there is an example in the book about that, logged in user access the page that requires login ref : http://web2py.com/books/default/chapter/29/14/other-recipes#Functional-testing best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Select filled with years

2017-04-16 Thread Winter Kryz
Hello everybody, I have a table like this db.define_table('Report', Field('person', 'reference Person'), Field('year', 'integer'), Field('letter', 'string'), ) and I use SQLFORM to create a form with that table

Re: [web2py] Re: Open Sourced dating website

2017-04-16 Thread David Shavers
Bump, Fully featured dating website. If you have any ideas of what you would like to see added let me know and I will try to do it and then open source it. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: Open Sourced dating website

2017-04-16 Thread David Shavers
Includes forum, feed similar to that of Facebook, user to user messaging, gender sorting, preference sorting, sexual orientation sorting, group chats, picture uploading, user profiles, etc -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: web2py and python3

2017-04-16 Thread JorgeH
the best news I've read in a long time! Can´t wait to use it.. :) On Sunday, April 16, 2017 at 9:51:11 AM UTC-5, Massimo Di Pierro wrote: > > The main goal is to make it as close as possible to web2py but faster, > allow more flexibility and move more logic client-size. It will be smaller >

[web2py] table already exists; 'Rows' object has no attribute 'fields'

2017-04-16 Thread pbreit
I'm a long time web2py user running into some problems I haven't seen before and cannot resolve. First, I am getting this error a lot even when I create a brand new project from scratch: OperationalError: table "auth_user" already exists Another error I am getting consistently is:

[web2py] Re: Resetting the database

2017-04-16 Thread 'Matthew J Watts' via web2py-users
I had to log out of my webapp before deleting the database data, otherwise i would get an error message cheers On Monday, November 14, 2011 at 1:38:15 AM UTC+1, Archibald Linx wrote: > > Dear Web2py users, > > How can I reset the database of my Web2py project ? > > Thanks, > Archibald --

[web2py] Python 2.7 mock library and web2py

2017-04-16 Thread Robin Bryce
Hi, I'm attempting to use the python mock library with some unittest based tests for a web2py application. It feels like I'm going against the grain. General question: Is it generally a pain to use mock with web2py applications or am I missing some trick to get it working ? Specifically, in

[web2py] Re: Making application looks better.

2017-04-16 Thread Massimo Di Pierro
screenshots? :-) On Friday, 14 April 2017 11:51:56 UTC-5, Michael Beller wrote: > > I created my own scaffold app based on the AdminLTE layout, similar to > what António did in terms of layout but replaced the Welcome app. I use > this for each new app instead of the Welcome app as my base

[web2py] Re: UPDATE BOOTSTRAP VERSION FROM 3 TO 4

2017-04-16 Thread Ali
Yes, i know what you mean, you have to start all over again from scratch, believe me, i have tried convert from version 3 to 4, I got lots of unrecognised classes. I have tried to change all classes to version 4 then I realised that is better to start all over again from bootstrap 4, is not

Re: [web2py] Re: web2py and python3

2017-04-16 Thread Massimo Di Pierro
The main goal is to make it as close as possible to web2py but faster, allow more flexibility and move more logic client-size. It will be smaller than web2py. admin will look different but have similar functionality. the request/response objects will be the bottlepy ones. dal & templates are

{Disarmed} Re: [web2py] Re: web2py and python3

2017-04-16 Thread Carlos Cesar Caballero Díaz
Hi Massimo, I really like a lot what I am reading, is there some kind of schedule or todo list for this? I really will like to help on building this. Have you considered to include some functionality like symfony 2 bundles (http://symfony.com/doc/current/bundles.html) or Yii2 extensions