[web2py] Administration disable communication is insecure

2020-08-31 Thread Andrea Fae'
Often when I try to modify a record through application it happens this error: "amministrazione disabilitata: comunicazione non sicura" in english administration disabled: communication is insecure What does it means? What I have to do? thank you -- Resources: - http://web2py.com -

[web2py] Re: login validation

2020-08-31 Thread Andrea Fae'
I noted in the manual. But for your opinion what is the meaning about is_active in auth_user? Why is it useful? Thank you Il giorno lunedì 31 agosto 2020 08:46:15 UTC+2, Paco Bernal ha scritto: > > I meant registration_key :) > >

[web2py] Re: About putting values into database

2020-08-31 Thread Andrea Fae'
thank you for your suggestions. I will try, and eventually. I will inform. thanks Il giorno sabato 29 agosto 2020 10:55:42 UTC+2, Dave S ha scritto: > > > > On Friday, August 21, 2020 at 7:33:54 AM UTC-7, Andrea Fae' wrote: > > >> [...] >> What is wrong? How to co

Re: [web2py] Re: fake_migrate=True is not working

2020-08-31 Thread Andrea Fae'
Now I understand. thank you so much Il giorno venerdì 28 agosto 2020 12:08:25 UTC+2, Jose C ha scritto: > > thank you Jim, but I don't understand... >> >> If I set >> migrate=False >> fake_migrate= True >> >> it means that web2py create the .table files without touching the db, >> isn'it? >> >>

[web2py] login validation

2020-08-30 Thread Andrea Fae'
Hello, maybe it's easy but I don't know exactly if it's possible. I want that a user can login ONLY if its rescord has is_valid=True. I dont' want he logins if is_valid=False in the auth_user table... Is it possible? In which way? thank you -- Resources: - http://web2py.com -

Re: [web2py] Re: fake_migrate=True is not working

2020-08-27 Thread Andrea Fae'
ng the db, >> isn'it? >> >> If I set >> migrate=True >> fake_migrate=True >> >> It means what exactly? >> >> thank you so much >> >> >> Il giorno mercoledì 26 agosto 2020 17:32:09 UTC+2, Jim S ha scritto: >> >>

Re: [web2py] Re: fake_migrate=True is not working

2020-08-27 Thread Andrea Fae'
+2, Jim S ha scritto: > > You still have migrate set to False in your appconfig.ini. > > -Jim > > On Wed, Aug 26, 2020 at 10:14 AM Andrea Fae' > wrote: > >> Thank you for your suggestions...Like this (see attaached files)? >> but, no way, no .tables created..

[web2py] Re: fake_migrate=True is not working

2020-08-26 Thread Andrea Fae'
. I just set it globally, but that may be a personal preference kind > of thing. > > -Jim > > On Wednesday, August 26, 2020 at 1:32:13 AM UTC-5, Andrea Fae' wrote: >> >> Hello, thank you for your answer. >> I deleted the character but nothing changes. >> B

[web2py] Re: No handlers could be found for logger "web2py"

2020-08-26 Thread Andrea Fae'
hello, I have the same problem. I don't have logging.conf in web2py folder and I don't have web2py.exe in it. I'm using Windows 10. thanks Il giorno giovedì 27 dicembre 2012 14:43:45 UTC+1, Niphlod ha scritto: > > do you have a file named logging.conf in the same folder where web2py.py > or

[web2py] Re: fake_migrate=True is not working

2020-08-26 Thread Andrea Fae'
Hello, thank you for your answer. I deleted the character but nothing changes. Best regards Andrea Il giorno lunedì 24 agosto 2020 12:39:47 UTC+2, Clemens ha scritto: > > Hi, > > I'm not very deep in your issue. But opening your appconfig.ini with my > default editor shows that the apostrophe

[web2py] fake_migrate=True is not working

2020-08-24 Thread Andrea Fae'
------------ # auth.enable_record_versioning(db) # personalizzazioni Andrea Fae' # impostazioni autenticazione AD pnbcc from gluon.contrib.login_methods.ldap_auth import ldap_auth auth.settings.login_methods.append(ldap_auth(mode='ad',

[web2py] About putting values into database

2020-08-21 Thread Andrea Fae'
Hello, I'm about 1 year that i don't program in web2py and I don't remember nothing! So, easy question I have this table (I created esplicitally the field is_active, created_on, created_by, do not ask me why...it's another question...) db.define_table('ticket', Field('asset',

[web2py] MS SQL and searchable=true

2020-08-21 Thread Andrea Fae'
Using search standard widget with MS SQL server and trying to search only typing a string causes this error for example when I search simply "202h719" it appears this Query Not Supported: ('42000', u'[42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Argument data type text is invalid for

[web2py] Re: DAL Could not create constraint or index

2020-08-21 Thread Andrea Fae'
o.asset_archive'; column does not allow nulls. INSERT fails. (515) (SQLExecDirectW); [23000] [Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated. (3621)") insert a NULL value into culumn'id' on table asset_archive? Why? Il giorno venerdì 21 agosto 2020 10:04:15 U

[web2py] Re: DAL Could not create constraint or index

2020-08-21 Thread Andrea Fae'
I think the problem with archiving is when I defined archive table in mssql I defined a field named 'current_record" type int. Maybe type int is not correct, isn't it? Thank you Il giorno venerdì 21 agosto 2020 09:43:14 UTC+2, Andrea Fae' ha scritto: > > Hello, some updates. > In

[web2py] Re: DAL Could not create constraint or index

2020-08-21 Thread Andrea Fae'
hat tables definitions are not created in the databases folder, even if I put migrate=false in appconfig.ini and in db.py I typed migrate_fake=true... ??? Il giorno giovedì 20 agosto 2020 16:57:26 UTC+2, Andrea Fae' ha scritto: > > UPDATES > > in appconfig.ini I changed from mi

[web2py] Re: DAL Could not create constraint or index

2020-08-20 Thread Andrea Fae'
UPDATES in appconfig.ini I changed from migrate= true to migrate=false. tha system doesn't create me the sql.log and .table file definitions in the folder databases, but the application seems start to work! How is posisble? Il giorno giovedì 20 agosto 2020 16:45:35 UTC+2, Andrea Fae' ha

[web2py] Re: DAL Could not create constraint or index

2020-08-20 Thread Andrea Fae'
- in web2py you can use define_table to create a web2py meta >definition (which must be compatible with what is on disk!) >- you can use fake_migrate if you wish to create a .table definition >file (which will reflect your web2py define_table) >- you can use migrate

[web2py] Re: DAL Could not create constraint or index

2020-08-19 Thread Andrea Fae'
igrate =False) again. > > > Sorry if this seems strange, but it is a work around solution. > I am hoping that someone will eventually fix this contraint problem in > pyDal. > > > On Tuesday, 18 August 2020 20:51:57 UTC+1, Andrea Fae' wrote: >> >> T

[web2py] Re: DAL Could not create constraint or index

2020-08-18 Thread Andrea Fae'
Thank you Villas. I'm using option 2 and now I have the tables without "created_by" and "modified_by". Now I will try to reset signature=true and see what will happen. If it causes the same error I could add but they will not managed automatically by web2py, or I'm wrong? What do you suggest?

[web2py] Re: URI for mssql

2020-08-18 Thread Andrea Fae'
if you use mssql 2016 you maybe it's better to use this: mssql4://user:password@servername/databasename I'm not specifying instance, and it seems working. Maybe I will try with the instance too. thanks Il giorno martedì 18 agosto 2020 07:18:06 UTC+2, T.R.Rajkumar ha scritto: > > I use the

[web2py] Re: DAL Could not create constraint or index

2020-08-17 Thread Andrea Fae'
, modified_on DATETIME NULL, modified_by INT NULL , CONSTRAINT auth_user_modified_by__constraint FOREIGN KEY (modified_by) REFERENCES auth_user (id) ON DELETE CASCADE ); Il giorno lunedì 17 agosto 2020 12:51:56 UTC+2, Andrea Fae' ha scritto: > > When I try to migrate sqlite to mssql and e

[web2py] DAL Could not create constraint or index

2020-08-17 Thread Andrea Fae'
When I try to migrate sqlite to mssql and execute the command python web2py.py -S ITAsset -M -P (ITAsset is the name of application) I see this error ProgrammingError: ('42000', u"[42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Introducing FOREIGN KEY constraint

[web2py] URI for mssql

2020-08-16 Thread Andrea Fae'
Is it correct this uri to connect to mssql server 2016? uri = mssql4://user:password@servername\instance/databasename or uri = mssql4://user:password@servername/databasename (without instance) Do I have to use "/" for all separations or even "\"? how can I be sure to use pyodbc or

[web2py] Re: Server SQL non existent or access denied

2020-08-16 Thread Andrea Fae'
Hello Villas, first thanks so much. You are gently. I will have possibility tomorrow to test. I just installed ODBC driver 17 in my client, so tomorrow I will test first of all if with a windows DSN connection it's possible to connect to SQL server 2016. After it I will try using web2py...But I

[web2py] Re: Server SQL non existent or access denied

2020-08-15 Thread Andrea Fae'
Please can anyone help me? thank you Il giorno venerdì 14 agosto 2020 alle 12:47:36 UTC+2 Andrea Fae' ha scritto: > Hello I have this problem > > c:\web2py>python web2py.py -S ITAsset -M -P > No handlers could be found for logger "web2py" > web2py Web Framework &g

[web2py] Server SQL non existent or access denied

2020-08-14 Thread Andrea Fae'
Hello I have this problem c:\web2py>python web2py.py -S ITAsset -M -P No handlers could be found for logger "web2py" web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2020 Version 2.14.6-stable+timestamp.2016.05.10.00.21.47 Database drivers available: sqlite3, imaplib, pyodbc,

[web2py] Re: Migrate web2py sqlite application to mssql

2020-08-14 Thread Andrea Fae'
Hello, I tried and I set in the appconfig.ini this URI uri = mssql4://sa:password@TS-SQL2016R2\SQLEXPRESS/itassetdb TS-SQL2016R2 is the hostname SQLEXPRESS is the instance itassetdb is the db created empty when I try to execute this command c:\web2py>python web2py.py -S ITAsset -M -P No

[web2py] Re: Migrate web2py sqlite application to mssql

2020-08-12 Thread Andrea Fae'
Wonderful! I will test. Thank you so much Il giorno mercoledì 12 agosto 2020 17:17:17 UTC+2, villas ha scritto: > > Here are some notes which you may find helpful... > > The basic idea is this: > >- Create a new DB using your preferred MSSQL management tool. >- Change your DAL connection

[web2py] Migrate web2py sqlite application to mssql

2020-08-12 Thread Andrea Fae'
Hello, can anyone tell me how to migrate a web2py application with simple sqlite database to a MSSQL 2016 database? Only change the DAL? the system create itself all the tables and database? Thank you very much to who can answer me! -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Visual Studio Code

2020-04-18 Thread Andrea Fae'
How to use visual Studio Code like IDE and debugger for the last version of web2py? thank you -- 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: 255

2020-03-29 Thread Andrea Fae'
I'm sorry but is still Versione web2py™ Version 2.19.1-stable+timestamp.2020.03.21.21.49.28 Python Python 3.8.2: C:\Python38\python.exe (prefix: C:\Python38) Il giorno domenica 29 marzo 2020 20:16:57 UTC+2, Dave S ha scritto: > > > > On Sunday, March 29, 2020 at 8:13:14 AM UTC-7

[web2py] 255

2020-03-29 Thread Andrea Fae'
I have this problem using web2py 2.18 with pyrhon 3.8 and mysql. When I log in int the app it happens this error: 255 I don't know id it's an error regarding mysql Versione web2py™ Version 2.19.1-stable+timestamp.2020.03.21.21.49.28 Python Python 3.8.2: C:\Python38\python.exe (prefix:

Re: [web2py] Fullcalendar v4 and web2py

2020-03-22 Thread Andrea Fae'
{{temp=db.auth_user(id=task["person"])}} > > title: '{{=temp["nick"]}}\n > </b><br>{{=task["description"]}}', > > > color : '{{=color}}', >

[web2py] Re: web2py with python 2.7 and web2py running on python 3

2020-03-21 Thread Andrea Fae'
or www.hostone.com, .htaccess forwards > that to port number 65789, and a web2py instance is run to service requests > to port 65789. For hosttwo, the port number changes. > > Here is a snippet of a .htacces file which does what I want: > > RewriteCond %{HTTP_HOST} hostone.com$

[web2py] Fullcalendar v4 and web2py

2020-03-15 Thread Andrea Fae'
Anyone have any eocumentation with a examples about using Fullcalendar.io v4 javascript calendar with web2py? thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] web2py with python 2.7 and web2py running on python 3

2020-03-14 Thread Andrea Fae'
Is it possible to have 2 differents environment on the same PC? web2py running python2.7 and web2py running ppython 3 separated...? Thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] 6th book release

2020-03-14 Thread Andrea Fae'
What are the differences between 5th book release and 6th online book prerelease? thank you -- 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

[web2py] web2py upgrade from 2.16.1

2020-02-23 Thread Andrea Fae'
I 'm using web2py 2.16.1 stable on my computer and I used it with python version 2.7. I programmed some sites with this RAD system. So I want to upgrade to the latest 2.18.5 stable and Python 3. What can I do to do it? What could be the implications on my projects made with 2.16 ant python 2?

[web2py] Re: datepicker preserve selecred date after postback

2019-04-26 Thread Andrea Fae'
Il giorno giovedì 25 aprile 2019 21:40:25 UTC+2, Andrea Fae' ha scritto: > > How to preserve datepicker selected date after postback using web2py in a > javascript view... I think it's a javascript problem but I don't know how > to fix it. > thank you > -- Resources: -

[web2py] How to intercept the click to the button "search"

2019-04-26 Thread Andrea Fae'
Hello, is it possible to intercept the event regarding click to the standard button search? thank you -- 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) ---

[web2py] Re: custom search

2019-04-26 Thread Andrea Fae'
ve a search button created by > you? > > > quinta-feira, 25 de Abril de 2019 às 15:21:41 UTC+1, Andrea Fae' escreveu: >> >> I create a custom search, so not standard field with "Search" and "reset" >> button standard. How to click the button "Search&q

[web2py] Re: datepicker preserve selecred date after postback

2019-04-26 Thread Andrea Fae'
} else { > window.location.href = "{{ > url = 'https://' if request.is_https else > 'http://' > url += request.env.http_host + request.url + '/' > =url > }}" + retV

[web2py] datepicker preserve selecred date after postback

2019-04-25 Thread Andrea Fae'
How to preserve datepicker selected date after postback using web2py in a javascript view... I think it's a javascript problem but I don't know how to fix it. thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] custom widget search form

2019-04-25 Thread Andrea Fae'
Can anyone help me giving me an example of custom widget search form? Better with default values and if is it possible to click "Search" programmatically. Thank you very much -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] custom search

2019-04-25 Thread Andrea Fae'
I create a custom search, so not standard field with "Search" and "reset" button standard. How to click the button "Search" programmatically? thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] creating tables with web2py console and mysql

2019-02-19 Thread Andrea Fae'
Hello, why I have this warning? c:\web2py>python web2py.py -S ga2 -M -P web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2019 Version 2.16.1-stable+timestamp.2017.11.14.05.54.25 Database drivers available: pymysql, imaplib, sqlite3, pg8000, pyodbc, mysqlconnector

[web2py] mysql import from csv problem

2019-02-19 Thread Andrea Fae'
Hello, when I import with this procedure https://www.pythonanywhere.com/forums/topic/1288/ from csv to mysql, it alter the ids of some related tables and I have data not corresponding to the original exported csv. What can I do? What is my error? is it depending on charset or something related?

[web2py] Re: Migrate from sqlite to mysql

2019-02-19 Thread Andrea Fae'
r.connect(host='localhost',database='mysql',user='root', > password='') > and it is success. > > What could be the reason of that error? > > Thanks. > > On Wednesday, February 13, 2019 at 10:55:32 PM UTC+3, Andrea Fae' wrote: >> >> >> Failure to connect, tr

[web2py] Re: Mysql 8.0.15

2019-02-19 Thread Andrea Fae'
Il giorno giovedì 14 febbraio 2019 20:09:22 UTC+1, Andrea Fae' ha scritto: > > Hello, I'm sorry but I'm not able to use web2py with this type of db. > > I just installed mysql version 8.0.15 on windows 10 pro and I have > connector for Python 3.7 and 2.7 installed > I creat

[web2py] Re: error connecting to mysql

2019-02-19 Thread Andrea Fae'
I solved the problem. It was a problem regarding foreign keys. I delete this binding and it worked. Thank you the same. Il giorno giovedì 14 febbraio 2019 19:50:21 UTC+1, Andrea Fae' ha scritto: > > This database gadb is without tables. > > Il giorno mercoledì 13 febbraio 2019 21

Re: [web2py] Re: Migrate from sqlite to mysql

2019-02-15 Thread Andrea Fae'
Yesterday night I solved the problem! It was a problem about python driver...with pip I updated and now I juste re-create the database in myslq But trying to import the csv I have now this problem >>> db.import_from_csv_file(open('c:\web2py\ga_export.csv','rb')) Traceback (most recent call

[web2py] Mysql 8.0.15

2019-02-14 Thread Andrea Fae'
Hello, I'm sorry but I'm not able to use web2py with this type of db. I just installed mysql version 8.0.15 on windows 10 pro and I have connector for Python 3.7 and 2.7 installed I created using mysql.exe a db named 'gadb', without any tables. with web2py I created a new "welcome" application

[web2py] Re: error connecting to mysql

2019-02-14 Thread Andrea Fae'
PLEASE HELP ME THANK YOU Il giorno mercoledì 13 febbraio 2019 21:46:19 UTC+1, Andrea Fae' ha scritto: > > Hello. I have this error when I start application "ga" > > Error ticket for "ga" > Ticket ID > > 127.0.0.1.2019-02-13.20-49-28.fcc1a494-3aa4-42c

[web2py] error connecting to mysql

2019-02-13 Thread Andrea Fae'
Hello. I have this error when I start application "ga" Error ticket for "ga" Ticket ID 127.0.0.1.2019-02-13.20-49-28.fcc1a494-3aa4-42c2-b1a9-ab14a466e72e Failure to connect, tried 5 times: Traceback (most recent call last): File "C:\web2py\gluon\packages\dal\pydal\base.py", line 454, in

[web2py] Re: Migrate from sqlite to mysql

2019-02-13 Thread Andrea Fae'
Hello! I followed the instruction you wrote me. But at that point:" load web2py app, ensure migrate is true, so that will create the tables defined in web2py" I have this error: Error ticket for "ga"Ticket ID 127.0.0.1.2019-02-13.20-49-28.fcc1a494-3aa4-42c2-b1a9-ab14a466e72e Failure to

[web2py] Re: Migrate from sqlite to mysql

2019-02-10 Thread Andrea Fae'
but, what happen if I install python 3.7 on windows? Does web2py still use 2.7? Or installinh mysql without this connector? What does you think? Other suggestions? I don't like to use different things because I need to publish my application to pythonanywhere... thanks Il giorno domenica 10

[web2py] Re: Migrate from sqlite to mysql

2019-02-10 Thread Andrea Fae'
2019 20:40:25 UTC+1, Andrea Fae' ha scritto: > > Thank you guys! > I will do a test and let you known. > Thank you for now. > > > Il giorno sabato 9 febbraio 2019 17:47:53 UTC+1, Ben Lawrence ha scritto: >> >> And turn off lazy-tables until mysql has built all the ta

[web2py] Re: Migrate from sqlite to mysql

2019-02-09 Thread Andrea Fae'
Thank you guys! I will do a test and let you known. Thank you for now. Il giorno sabato 9 febbraio 2019 17:47:53 UTC+1, Ben Lawrence ha scritto: > > And turn off lazy-tables until mysql has built all the tables. > > On Friday, February 8, 2019 at 5:03:29 PM UTC-8, 黄祥 wrote: >> >> - what version

[web2py] Migrate from sqlite to mysql

2019-02-08 Thread Andrea Fae'
Hello everybody I have some questions about an appllication I want to migrate from SQLite db to MySql in windows: - what version of mysql do I have to install to my PC where I have 2.17 version of web2py? Where can I find? - is it necessary to install drivers or it is still included in my web2py

[web2py] Re: searchable=True

2018-10-15 Thread Andrea Fae'
the URL query string. > > Anthony > > On Monday, October 15, 2018 at 2:39:33 AM UTC-4, Andrea Fae' wrote: >> >> Thank you Anthony, but the code is not easy to understand. could you make >> me an easy example about to create a custom search function? Do I have to >>

[web2py] Re: searchable=True

2018-10-15 Thread Andrea Fae'
ample, see the default > search function: > https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L2043. > > Anthony > > On Sunday, October 14, 2018 at 4:05:43 PM UTC-4, Andrea Fae' wrote: >> >> Hello, in a grid, if you type searchable=True default) you can sear

[web2py] searchable=True

2018-10-14 Thread Andrea Fae'
Hello, in a grid, if you type searchable=True default) you can search by EVERY field in the grid. But I want to use the search box not to all fields in te view, but only in some of them. Is it possible or I have to create a specific search form? Can you send me some example? Thank you --

[web2py] field username in auth_user

2018-06-19 Thread Andrea Fae'
What kind of characters can we use in this field? Can I use space character in this field? I think no. thank you -- 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: managing latin characters

2018-06-19 Thread Andrea Fae'
Thank you Leonel, but when I try to insert to db for example this name "Donà" in the username field (table auth_user) the system tells me that is not possible...So, what to do? Convert "Donà" in "Dona" without accent? Which characters can I use in the username field? In the book there is only

[web2py] managing latin characters

2018-06-18 Thread Andrea Fae'
How to manage latin character, like italian character like è,é, à, ò If I want to insert for example à it "translate" to “/xe0153" How to wotk with this type of charater...Do I need to change from utf-8 to? Thanks -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] fetching events from DB using fullcalendar javascript event calendar

2018-06-10 Thread Andrea Fae'
I'm using web2py and now I'm fetching all calendar events from db using this code in a view: events: [ {{for row in rowseventi:}} { title: '{{=row.evento.titolo}}', id: '{{=row.evento.id}}', resourceId: '{{=row.evento.risorsa}}',

[web2py] Re: multiple conditional fields

2018-06-10 Thread Andrea Fae'
I tried, but it's not working with 2 fields to get hidden... Il giorno domenica 10 giugno 2018 02:41:12 UTC+2, 黄祥 ha scritto: > > perhaps you can use show_if for conditional field or jquery() > ref: > > http://web2py.com/books/default/chapter/29/07/forms-and-validators#Conditional-fields > >

[web2py] multiple conditional fields

2018-06-09 Thread Andrea Fae'
I have this table db.define_table('evento', Field('titolo', requires=[IS_NOT_EMPTY()]), Field('verifica', type='boolean', default=False), Field('inizio', type='datetime', requires=IS_DATETIME(format=T('%d/%m/%Y %H:%M'),error_message='deve essere

[web2py] change form field on the basis of another field

2018-06-02 Thread Andrea Fae'
I have 2 datetime fields in a SQLFORM I want that when I change the date in one the fields, the other field get the same date (not the same time) Thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: remove seconds from datetime picker

2018-06-02 Thread Andrea Fae'
I solved with this var w2p_ajax_date_format = "{{=T('%d/%m/%Y')}}"; var w2p_ajax_datetime_format = "{{=T('%d/%m/%Y %H:%M')}}"; in web2py_ajax.html Il giorno venerdì 1 giugno 2018 23:37:48 UTC+2, Andrea Fae' ha scritto: > > When I select from standard calenda

[web2py] remove seconds from datetime picker

2018-06-01 Thread Andrea Fae'
When I select from standard calendar a datetime value it adds :00 seconds! But I don't want, I don't need. How to remove from the datetime field? Thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: form fields

2018-06-01 Thread Andrea Fae'
, Anthony ha scritto: > On Thursday, May 31, 2018 at 2:27:44 PM UTC-4, Andrea Fae' wrote: >> >> thanks Anthony. Could you give me simple example about second idea? It's >> noy possible to pass variables to a onvalidation funtion? i.e. onvalidation >> doesn't accept param

[web2py] Re: form fields

2018-05-31 Thread Andrea Fae'
non-writable field values, and make that object available within the >onvalidation function (since those values are not changeable within the >form, there is no reason the values must come from the form submission). > > Anthony > > On Wednesday, May 30, 2018 at 4:28:01 PM

[web2py] form fields

2018-05-30 Thread Andrea Fae'
Hello I have a SQLFORM but some of them I populate from other variables and I don't want to change. So I typed field.writable=False... But when I use a custom "onvalidation" function I want to have the content of all the form fields... In request.vars I see some fields but not all In form.vars I

[web2py] Re: web2py Requires gitpython module

2018-05-14 Thread Andrea Fae'
Yes I installed but it's not working showing me the message below. Il giorno domenica 13 maggio 2018 16:31:41 UTC+2, Andrea Fae' ha scritto: > > When I try to "push git " i See the error "requires gitpython module" > > Requires gitpython module, but not i

[web2py] web2py Requires gitpython module

2018-05-13 Thread Andrea Fae'
When I try to "push git " i See the error "requires gitpython module" -- 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

[web2py] Re: link to a grid

2018-05-11 Thread Andrea Fae'
t; 'static' is a special value for the controller. > > Anthony > > On Thursday, May 10, 2018 at 6:59:45 AM UTC-4, Andrea Fae' wrote: >> >> Hello I have a grid with certain fields. >> In a filed there is a name of a pdf file that I have in the folder >> "static/Etich

[web2py] link to a grid

2018-05-10 Thread Andrea Fae'
Hello I have a grid with certain fields. In a filed there is a name of a pdf file that I have in the folder "static/Etichette". I have a lot of pdf file in this folder and I'd like, when I click this link, to open the related file... This is the grid grid = SQLFORM.grid(db.socio, links =

Re: [web2py] web2py 2.16.1 and login menu on mobile systems NOT WORKING

2018-04-23 Thread Andrea Fae'
tstrap version, and make some fixes in the > layout bar. > > Testing the trunk I can see that is fixed, but there are some responsive > issues. Is there some issue open about this? If there is no one working I > can send some fixes. > > Greetings. > > El 22/04/18

[web2py] web2py 2.16.1 and login menu on mobile systems NOT WORKING

2018-04-22 Thread Andrea Fae'
If you try to use welcome application on web2py 2.16.1 login menu (hamburger icon) is not working. Clicking on it nothing happens...it's a bug. Am I right? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Login not working on smartphone - no the same menu layout

2018-04-22 Thread Andrea Fae'
in the console. Il giorno venerdì 20 aprile 2018 21:59:08 UTC+2, Dave S ha scritto: > > > > On Friday, April 20, 2018 at 11:15:52 AM UTC-7, Andrea Fae' wrote: >> >> Please help me... >> >> > I'm not going to be much help, but I can confirm that the "h

[web2py] bootstrap.min.js:7 Uncaught Error: Bootstrap tooltips require Tether (http://tether.io/)

2018-04-22 Thread Andrea Fae'
what can I do to include tether in web2py project telling me that bootstrap 4 (worse than bootstrap 3) require tether? Where and what do I have to include? Thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Login not working on smartphone - no the same menu layout

2018-04-20 Thread Andrea Fae'
Please help me... Il giorno mercoledì 18 aprile 2018 20:31:38 UTC+2, Andrea Fae' ha scritto: > > this is my application > > https://andfae.pythonanywhere.com/tcf/default/index > > I can't login with android. I don't know. I see in the upper right of the > smartphone 3 l

[web2py] Login not working on smartphone - no the same menu layout

2018-04-18 Thread Andrea Fae'
this is my application https://andfae.pythonanywhere.com/tcf/default/index I can't login with android. I don't know. I see in the upper right of the smartphone 3 lines but when I click nothing happens...How to fix it? Thank you -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] btn-default

2018-03-28 Thread Andrea Fae'
On Tue, Mar 27, 2018 at 4:02 PM, Andrea Fae' <and...@gmail.com > > wrote: > >> Where is the definition btn-default in any welcome clone application? I >> need to change the style...thanks >> >> -- >> Resources: >> - http://web2py.com >> - ht

[web2py] btn-default

2018-03-27 Thread Andrea Fae'
Where is the definition btn-default in any welcome clone application? I need to change the style...thanks -- 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) ---

[web2py] button separation

2018-03-18 Thread Andrea Fae'
Hello, attached there is my login page. I'd like to separate a little bit the 2 buttons "log in" and "password smarrita". They belong to bootstrap btn-default class, but I don't know exactly where I have to change the properties of these class in the application files... Thanks -- Resources:

Re: [web2py] auth.settings.actions_disabled.append('register')

2018-03-16 Thread Andrea Fae'
In layout.html there is an error... wrong right {{=T('Lost Password')}} Il giorno venerdì 16 marzo 2018 20:07:27 UTC+1, Andrea Fae' ha scritto: > > Do you mean that, like in the other versions, it shoud be enogh only to &

Re: [web2py] auth.settings.actions_disabled.append('register')

2018-03-16 Thread Andrea Fae'
ily complex. Any action could be disabled and that;s a > lot of if statements. > > On Saturday, 10 March 2018 21:34:49 UTC-6, alex wrote: >> >> What about removing this: >> >> > href="{{=URL('default','user/register')}}">{{=T('Sign up')}} >> >&

[web2py] change button form style

2018-03-15 Thread Andrea Fae'
Can I have any examples about changing some style of form components, like for example buttons, text fields, labels,etc? Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] 'FieldVirtual' object has no attribute 'listable'

2018-03-12 Thread Andrea Fae'
I don't know because I'm sure mounths ago it was working... form = SQLFORM.grid(query, args=[studente], fields=[db.evento.titolo, db.evento.ricorrenza, db.evento.giorno_inizio, db.evento.inizio, db.evento.fine, db.evento.risorsa, db.evento.materia,

[web2py] Re: bootstrap very bad

2018-03-12 Thread Andrea Fae'
Il giorno lunedì 12 marzo 2018 20:04:57 UTC+1, Andrea Fae' ha scritto: > > Hello, Why I have very bad format in the dialog and in the forms? label is > not on the lef of the field and all is white colourhow to change? Look > attached file... > response.formstyle = 'bo

[web2py] bootstrap very bad

2018-03-12 Thread Andrea Fae'
Hello, Why I have very bad format in the dialog and in the forms? label is not on the lef of the field and all is white colourhow to change? Look attached file... thanks you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Python 3

2018-03-11 Thread Andrea Fae'
Can I really use web2py with Python 3? I fell they are a lot of bugs...Is it better to stay in the version 2? thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] auth.settings.actions_disabled.append('register')

2018-03-10 Thread Andrea Fae'
Sometimes problems arises. I need to eliminate "sign up" menu item from LOGIN but nevertheless I inserted this line auth.settings.actions_disabled.append('register') or this auth.settings.actions_disabled = ['register'] in the db.py I can see the item in the menu, and when I click I see "404

Re: [web2py] Re: new style of welcome app

2018-03-09 Thread Andrea Fae'
This is working! Thanks...Why? Il giorno venerdì 9 marzo 2018 12:42:18 UTC+1, alex ha scritto: > > In layout.html, instead of > > > > you can try: > > > > > > > On March 9, 2018 at 05:12:50, Andrea Fae' (and...@gmail.com ) > wrote: > > Yes, I

[web2py] Re: new style of welcome app

2018-03-07 Thread Andrea Fae'
at 12:12:45 PM UTC-5, Andrea Fae' wrote: >> >> I have different apps in my web2py environments. Web2py apps built before >> a certain date have a stile with "login" link in the right upper side of >> the web page, while the new apps, for example welcome app are

[web2py] new style of welcome app

2018-03-04 Thread Andrea Fae'
I have different apps in my web2py environments. Web2py apps built before a certain date have a stile with "login" link in the right upper side of the web page, while the new apps, for example welcome app are with another style with login link anchor in the left side, just after the menus, and

[web2py] Re: $.web2py.component

2018-03-04 Thread Andrea Fae'
Thank you. If I will have time I will analyze the code. Il giorno sabato 3 marzo 2018 22:21:51 UTC+1, Anthony ha scritto: > > On Saturday, March 3, 2018 at 2:14:29 PM UTC-5, Andrea Fae' wrote: >> >> Anthony, what is the difference between >> >> $.web2py.com

  1   2   3   >