[web2py] Re: Please: A simple template for accessing the same db from web2py and standalone

2017-08-14 Thread 'jim kaubisch' via web2py-users
Anthony, Thank you VERY much for reply. Out of it I take that (1) unless one is dealing with a pretty basic db, almost inevitably one starts including web2py specific pieces that make sharing considerably more complicated than just "from gluon import DAL, Field" :( In my case, besides

[web2py] Re: Please: A simple template for accessing the same db from web2py and standalone

2017-08-14 Thread Anthony
> > (1) unless one is dealing with a pretty basic db, almost inevitably one > starts including web2py specific pieces that make sharing considerably more > complicated than just "from gluon import DAL, Field" :( In my case, > besides record versioning, validators etc. there's a trivial

Re: [web2py] pycharm and web2py - setup project

2017-08-14 Thread Kirill Shatalaev
Richard, as you can see at 2:20, parameter info is NOT working (indexing is finished, view->parameter info or ctrl+p is not working too) After that I've added pyDAL package (2:43) And ONLY then it starting to work, yes (3:26). Pycharm is professional version, 2017.2.1 понедельник, 14 августа

[web2py] 'DAL' object has no attribute ""table_name""

2017-08-14 Thread Halili Celik
1. web2py internet download link is wrong for windows platform. The link points to old version: 2.15.2-stable+timestamp.2017.07.19.12.18.41 2. With the version: 2.15.2-stable+timestamp.2017.07.19.12.18.41, when I try to export csv format I get 'DAL' object has no attribute ""table_name"".

[web2py] Re: posibility to disable the mobile admin interface

2017-08-14 Thread Paolo Caruccio
My known way. In the "web2py/applications/admin/controllers/default.py" file at line nr.3 set EXPERIMENTAL_STUFF to False You must apply the above change every time you update web2py. Il giorno lunedì 14 agosto 2017 12:50:39 UTC+2, Vic Ding ha scritto: > > I know this is pretty old post, but

Re: [web2py] pycharm and web2py - setup project

2017-08-14 Thread Kirill Shatalaev
Richard, how did you do that? This is my scrincast on a clean installation and without any virtual environment. Does not work. https://youtu.be/51mmwUSJ_VM пятница, 11 августа 2017 г., 17:57:46 UTC+4 пользователь Richard написал: > > Kirill, I just try to create a new project and the

[web2py] Re: web2py with js framework

2017-08-14 Thread 黄祥
thanks Carlos for the clear hints best regards, stifan > > -- 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

[web2py] scheduler speed up task run

2017-08-14 Thread Yebach
Hello I am experiencing some issues with scheduler.py module While running on my local machine (Windows 10, postgres database,..) the scheduler under the following command start relatively quick scheduler = Scheduler(db, tasks = dict(runWoshiEngine = runWoshiEngine,saveIdOut=saveIdOut )

[web2py] Re: posibility to disable the mobile admin interface

2017-08-14 Thread Vic Ding
I know this is pretty old post, but is there a way to do so? Thanks! On Tuesday, November 22, 2016 at 10:30:24 AM UTC+1, Oli wrote: > > is there a posibility to disable the mobile interface? there is only a > white screen on pythonanywhere.com with web2py version 2.14.6 . -- Resources: -

[web2py] web2py with js framework

2017-08-14 Thread Carlos Kitu
Hi stifan, I just wanted to share my recent experience with vue.js and web2py. At first I didn't want to give up things like sqlform. Then I tried to tweak the form generated by web2py with el1=form.element(...) to get a reference to the html element I wanted to add certain vue.js directives

[web2py] Re: Weird problems generating menu from database

2017-08-14 Thread Вячеслав Анатольевич
Hi! in that example - i have error: subsubmenu = [[key, None, link] for key, link in items] ValueError: too many values to unpack -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Getting 404 NOT FOUND error when accessing a few pages of my app.

2017-08-14 Thread Rahul
Hi All, I have an app and Off late I am strangely getting below error when accessing a page. I have the cat_grid function in by controller(default.py) as well have* .html *file in views. 1. Request URL: http://127.0.0.1:8000/Target/default/cat_grid 2. Request Method: GET

Re: [web2py] pycharm and web2py - setup project

2017-08-14 Thread Richard Vézina
hmm... I don't understand why you say it not working... Once the pycharm indexing end, at the end of your vid you have autocomplete working no??? I do have last pycharm version PyCharm 2017.2 Build *#PY-172.3317.103*, built on July 25, 2017 JRE: 1.8.0_152-release-915-b5 amd64 JVM: OpenJDK 64-Bit

[web2py] Re: Getting 404 NOT FOUND error when accessing a few pages of my app.

2017-08-14 Thread Jim S
Can you show the code? -Jim On Monday, August 14, 2017 at 7:53:51 AM UTC-5, Rahul wrote: > > Hi All, >I have an app and Off late I am strangely getting below error when > accessing a page. I have the cat_grid function in by controller(default.py) > as well have* .html *file in views.

Re: [web2py] pycharm and web2py - setup project

2017-08-14 Thread Richard Vézina
Also, do you have professional version of pycharm (you seems too)? On Mon, Aug 14, 2017 at 9:21 AM, Richard Vézina wrote: > hmm... I don't understand why you say it not working... Once the pycharm > indexing end, at the end of your vid you have autocomplete working

[web2py] Re: custom filter in grid

2017-08-14 Thread Leonel Câmara
Here's one way to do it. Note that when I start having this kind of problems I usually stop using the grid and make a custom solution. In the grid, the searchable argument, can be a function. In that case it gets the fields and keywords and its responsibility is to generate and return a

[web2py] Styling the Sign Up Page

2017-08-14 Thread Mark Billion
I have Jquery that works fine to style the user/login page $( document ).ready(function() { $(":submit").addClass( "btn btn-default" ); $(".btn").css('margin-right', '10px'); $(".w2p_fl").attr('align', 'right'); $( "form>table" ).prepend( '' ) }); But I cant for the life of

{Disarmed} [web2py] Re: custom filter in grid

2017-08-14 Thread Carlos Cesar Caballero Díaz
Yes, that's a possible solution, but I don't want to duplicate information that is already there, I just want to find a way to use it in the way I need. Greetings. El 11/08/17 a las 16:07, 黄祥 escribió: just an idea why not create the new field with the date type with default value =

[web2py] Re: Styling the Sign Up Page

2017-08-14 Thread Anthony
The .change() method sets up a handler for changes in input, select, and textarea elements, not for clicking buttons. If you want a change to happen when the button is clicked, set up a click handler or maybe simply a submit handler. Anthony On Monday, August 14, 2017 at 10:19:28 AM UTC-4,

[web2py] Re: Getting 404 NOT FOUND error when accessing a few pages of my app.

2017-08-14 Thread Anthony
Has the app been compiled? What happens if you reload routes or restart the web server? On Monday, August 14, 2017 at 8:53:51 AM UTC-4, Rahul wrote: > > Hi All, >I have an app and Off late I am strangely getting below error when > accessing a page. I have the cat_grid function in by

[web2py] Re: Please: A simple template for accessing the same db from web2py and standalone

2017-08-14 Thread Anthony
On Sunday, August 13, 2017 at 6:18:54 PM UTC-4, jim kaubisch wrote: > > I have good reason to want to create a database using a web2py app, but > also access the db from a standalone app that does tons of data processing > but basically does not need/want any user interaction > The web2py app

[web2py] Re: Change value of select

2017-08-14 Thread Anthony
On Friday, August 11, 2017 at 6:59:17 AM UTC-4, Simona Chovancová wrote: > > I need to change selected option in the view, I know that to change input > value I do it like this: {{form.element('input', _name='field')['_value'] = > "new_value"}}, but how do I do this with select? Also, this needs