giorno giovedì 18 gennaio 2018 23:59:08 UTC+1, Anthony ha scritto:
>
> On Thursday, January 18, 2018 at 2:58:47 PM UTC-5, Andrea Fae' wrote:
>>
>> Anthony, you are very good teacher. But can I have a couple of examples
>> using web2py and javascript? thank in advance.
r supporting imap as part of the DAL. Nobody was using it
> and it is not the right abstraction.
>
> On Sunday, 25 February 2018 03:02:44 UTC-6, Andrea Fae' wrote:
>>
>> I'm sorry, but what are you telling me exactly?
>>
>> 2018-02-25 3:33 GMT+01:00 Massimo Di
I have an exchange server and usually I access to email using
"domain\username" and password...
using # Replace user, password, server and port in the connection string
# Set port as 993 for SSL supportimapdb =
DAL("imap://user:password@server:port", pool_size=1)
what can I type in the user ?
11:37:17 UTC+1, Andrea Fae' ha scritto:
>
> Hello, I need to create a page to download rows from a dataset to a file.
> Is there any automatic possibility (embedded download function is
> related?) without creating a function and relative view?
> Thank you
>
--
Resour
Hello, I need to create a page to download rows from a dataset to a file.
Is there any automatic possibility (embedded download function is related?)
without creating a function and relative view?
Thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
How to insert a separator line between 2 menu items?
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 this message because you are
It seems that the version \nssm-2.24-101-g897c7ad\win64\ is working
Il giorno venerdì 9 febbraio 2018 20:49:01 UTC+1, Andrea Fae' ha scritto:
>
> I tried with the version suggested in the nssm site. I have the last
> version of windows 10.
> But the problem remains the same.
https://www.youtube.com/watch?v=dHu8O1gZOl0
there are 4 parts in youtube
Il giorno venerdì 9 febbraio 2018 20:51:11 UTC+1, Jim S ha scritto:
>
> Could you provide a link to the tutorials that you're talking about?
>
> -Jim
>
> On Fri, Feb 9, 2018 at 1:47 PM, Andrea Fae'
I tried with the version suggested in the nssm site. I have the last
version of windows 10.
But the problem remains the same...can anyone help me to fix?
Thank you
Il giorno giovedì 8 febbraio 2018 21:34:30 UTC+1, Andrea Fae' ha scritto:
>
> c:\data\nssm-2.24\win64>nssm.
ebruary 7, 2018 at 1:52:28 PM UTC-6, Andrea Fae' wrote:
>>
>> Hello, it would be a great thing to have a document with the code written
>> by Massimo in the video tutorials...
>> thank you
>>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Docu
c:\data\nssm-2.24\win64>nssm.exe start web2py_scheduler_test
web2py_scheduler_test: START: Operazione completata.
c:\data\nssm-2.24\win64>nssm.exe status web2py_scheduler_test
SERVICE_PAUSED
c:\data\nssm-2.24\win64>
Why? I'm following exactly the instructions given in the web2py guide...
--
Hello, it would be a great thing to have a document with the code written
by Massimo in the video tutorials...
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
Hello, days ago I started to use scheduler and all was working very well. I
could see db.scheduler_run.task_id lines in the db with all the results and
console.
Now the scheduler works very well but I don't see nothing in the
table db.scheduler_run.task_id. Why? Talk completed without
details.
>
> On Monday, January 29, 2018 at 11:17:24 AM UTC-5, Andrea Fae' wrote:
>>
>> If I write this for testing
>>
>> form[0][-1][1].append(TAG.BUTTON('Annulla', _class='btn btn-default',
>> _type='Cancel',_onclick="document.location='%s';return false&qu
What means _class='generic_widget form_control'?
--
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 subscribed to
If I write this for testing
form[0][-1][1].append(TAG.BUTTON('Annulla', _class='btn btn-default',
_type='Cancel',_onclick="document.location='%s';return false" %
URL('lista_ticket_asset/SC')))
it's not woking too.
Il giorno lunedì 29 gennaio 2018 17:09:07 UTC+1, Andrea Fae'
Hello, in a controller this is working
form[0][-1][1].append(TAG.BUTTON('Annulla', _class='btn btn-default',
_type='Cancel',_onclick="document.location='%s';return false" %
URL('index')))
and the landing page is default\index
this is not working
Is there available a debugger too?
Il giorno venerdì 26 gennaio 2018 20:04:42 UTC+1, Ramos ha scritto:
>
> for free
> Sublime Text 3 + w2p plugin
>
> Work and gives you a web2py console and some other stuff
>
> Regards
>
> 2018-01-26 18:57 GMT+00:00 Andrea Fae' <a
`id` arg is the other_id value.
>
> Maybe the example could be more clear in this way:
>
> db.mytable.other_id.represent = lambda id, row: db.other_table[id].other_field
>
>
> On Fri, Jan 26, 2018 at 10:24 AM, Andrea Fae' <and...@gmail.com
> > wrote:
>
>> "R
: You can develop your software with system
>> versions of Python and its components, and fix the behaviour when the
>> system versions will change. This is possible but not the best solution.
>> Better is install and activate virtualenv for the project folder. Then
>> you wil
"Represent" from web2py book
But what exactly are the relationship between "other_id" and "is" in the
second example?
And in the third from what is get the variable "value"?
Thank you
.represent can be None or can point to a function that takes a field value
and returns an alternate
Hello guys!
I have a grid like this
form = SQLFORM.grid(query, args=[tipologia], fields=[db.ticket.id,
db.ticket.created_on, db.asset.tipo, db.asset.seriale,
db.asset.modello,db.asset.nome, db.asset.uo, db.asset.is_active,
db.ticket.anomalia, db.ticket.chiuso, db.ticket.risoluzione], links =
Web2py integrated ide environment is not bad, but with limited debugging,
no intellisense and so on.
I'd like to know what is a completely free IDE for using with web2py.
Visual Studio Community? Visual Code Editor? In which way? How can I
integrate web2py with these IDE? Is it possible?
Can
. You can use it to trigger the creation or
> reloading of Ajax components using Javascript (e.g., clicking a button
> could load a component).
>
> Anthony
>
> On Thursday, January 18, 2018 at 2:31:34 PM UTC-5, Andrea Fae' wrote:
>>
>> Who is able to explain well $.web2py.
Who is able to explain well $.web2py.component? What is the meaning?
Where is in the web2py book?
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)
I'm sorry but in the documentation there isn't written explicitally
web2py.component with the dotwhere did you find it? And for
$.web2py.component? What is the meaning?
Thank you
Il giorno giovedì 16 febbraio 2017 22:40:18 UTC+1, Richard ha scritto:
>
> {{=LOAD()}} = HTML
>
>
What version of python 3 can I use with 2.16.1 version? How to upgrade
python?
web2py application made with python 2.7 will be compatible?
thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Is it possibile to manage crud.read field labels?
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)
---
You received this message because you are
2017 01:06:00 UTC+2, Massimo Di Pierro ha
scritto:
>
> You cannot add buttons to a readonly crud form because it has no button
> row. You can do:
>
> form.components.append(A('Back',_onclick="window.history.go('-1')"))
>
>
> On Sunday, 3 September 2017 13:49
t;
> Anthony
>
> On Saturday, September 9, 2017 at 1:28:12 PM UTC-4, Andrea Fae' wrote:
>>
>> exportcls = dict(csv=False, xml=False, csv_with_hidden_cols=False,
>> html=False, json=False, tsv_with_hidden_cols=False, tsv=False)
>>
>> *for
an you show your code, a screenshot, and explain exactly what you are
> trying to achieve. If I do SQLFORM.grid(..., csv=False), I see no export
> links.
>
> Anthony
>
> On Thursday, September 7, 2017 at 7:42:38 AM UTC-4, Andrea Fae' wrote:
>>
>> Yes
>>
I don't want any export and I dont' want the text "export" in the bottom of
the grid...
--
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
I need the same!
Il giorno venerdì 5 maggio 2017 09:30:56 UTC+2, Yebach ha scritto:
>
> How can you also remove the text "Export" ??
>
> If I set all classes to False the text stays, if I remove export classes
> from signature it displays all
>
> On Wednesday, August 15, 2012 at 12:41:28 PM
I use in a method this
form=crud.read(db.evento,evento)
and the html vies is very simple
{{extend 'layout.html'}}
Evento
{{=form}}
how to add a simple button to go back in the previous page? I tried
form.add_button('Back', URL('index'))
but I have this error
'NoneType'
Hello, is it possible to get email field in auth_user table not unique? I
don't use email form accessing but username.
I don't want to create a custom auth_user table if it's possible.
Thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
I'm sorry but it's Javascript. I prefer to define a field of web2py db. How
to implement? Thank you very much
Il giorno martedì 18 luglio 2017 21:57:00 UTC+2, Leonel Câmara ha scritto:
>
> You can use a polyfill such as this one
> https://briangrinstead.com/blog/input-type-color-polyfill/
>
> I
Hello, how to implement a field color picker like
Field('colore', 'string', widget=lambda f,v:
SQLFORM.widgets.string.widget(f,v, _value=v,
_type='color',_data_text='hidden', _hex='true')),
This above is working in Chrome and Firefox but not in IE 11...
--
Resources:
- http://web2py.com
-
Email field in auth_user table is obligatory.
Is it possible to get this field not obligatory?
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)
---
You
Hello guys,
I'd like to know if there will be future of web2py? Any information about
it?
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)
---
You
Hey guys...I know there are gurus of web2py...no suggestion? Please help
me...
thank you
Il giorno giovedì 11 maggio 2017 21:40:42 UTC+2, Andrea Fae' ha scritto:
>
> Hello, I have a form that in this moment create one record in the
> database. This records represent
Hello, I have a form that in this moment create one record in the database.
This records represent an event:
db.define_table('evento',
Field('titolo', requires=[IS_NOT_EMPTY()]),
Field('inizio', type='datetime'),
Field('fine', type='datetime'),
Anthony, you are a guru of web2py!
Il giorno sabato 6 maggio 2017 15:50:52 UTC+2, Anthony ha scritto:
>
> On Saturday, May 6, 2017 at 4:50:47 AM UTC-4, Andrea Fae' wrote:
>>
>> Solution:
>> db.evento.giorno_inizio.represent = lambda giorno_inizio, row:
>> T(giorno_
Solution:
db.evento.giorno_inizio.represent = lambda giorno_inizio, row:
T(giorno_inizio)
But I don't know whhy I have to specify "row" in tha lambda function...
Il giorno venerdì 5 maggio 2017 22:44:10 UTC+2, Dave S ha scritto:
>
>
>
> On Friday, May 5, 2017 at 12:09:3
I have this table
db.define_table('evento',
Field('titolo', requires=[IS_NOT_EMPTY()]),
Field('inizio', type='datetime'),
Field('fine', type='datetime'),
Field.Virtual('giorno_inizio', lambda
email_source=link_campaign=sig-email_content=webmail>
>
> <#CAEM0BxOYdGUBiF5vsQGZpfrH6cV3_t2RuThgUQGcahYF=9fXfQ@mail.gmail.com_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> 2017-04-24 12:07 GMT+01:00 Andrea Fae' <and...@gmail.com >:
>
>> Yes you are right, but there is something in the book, something in the
>&
As Anthony suggested me (and thank you for his help), I use for example
these function to control authorization
@auth.requires(lambda: verifica_manager_site(list_of_roles_manager_site))
At the starting of default.py, where I have the other function that needs
authotiation, I putted code to
Yes you are right, but there is something in the book, something in the
codeno complete full documentation...managed in only one site. It's
like it is...I have to accept this. thanks
Il giorno martedì 11 aprile 2017 15:07:00 UTC+2, Anthony ha scritto:
>
> On Tuesday, April 11, 2017 at
Il giorno giovedì 20 aprile 2017 16:31:31 UTC+2, Andrea Fae' ha scritto:
>
> Hello, if I have to get the list from database, where I need to put the
> code? At the start of default.py where I use the functions? Thanks
>
> Il giorno mercoledì 19 aprile 2017 17:30:06 UTC+2, Ant
', 'role3'] # You could get this list via
> a database query
>
> @auth.requires(lambda: any(auth.has_membership(role) for role in
> list_of_roles))
> def myfunc():
> ...
>
> Anthony
>
> On Wednesday, April 19, 2017 at 8:14:53 AM UTC-4, Andrea Fae' wrote:
>>
>>
() return true if one (or more) of the elements is True.
>
>
> this:
>
> auth.has_membership(role) for role in list_of_roles
>
> try all the roles in the list.
>
> so if one of the auth.has_membership() return true, the lamba function return
> true.
>
> list_of_roles = ['role1', 'role2', 'role3'] # You could get this list via
> a database query
>
> @auth.requires(lambda: any(auth.has_membership(role) for role in
> list_of_roles))
> def myfunc():
> ...
>
> Anthony
>
> On Wednesday, April 19, 2017 at 8:14
For example I have this type of functions:
# sono autorizzati i vari manager a seconda della sede
@auth.requires(auth.has_membership('Total-manager') |
auth.has_membership('Conegliano-studente') |
auth.has_membership('Pordenone-manager') |
auth.has_membership('Pordenone-studente') |
You are right, as usual. Thank you
Il giorno martedì 18 aprile 2017 20:55:00 UTC+2, Anthony ha scritto:
>
>
>> db.materia.nome.requires=IS_NOT_IN_DB(db(db.materia.docente==request.vars.docente),db.materia.nome)
>>
>
> There is no request.vars.docente. Based on your controller code, it
> appears
How to change customized message in the confirmation dialog about delete a
record using grid or smartgrid? (depending on the situation)
Any examples?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
I have this table
db.define_table('materia',
Field('nome',
requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB(db,'materia.nome')]),
Field('docente','reference auth_user'),
auth.signature,singular="Materia",plural="Materie",migrate='materia.table',
Web2py is wonderful, but it has a big challenge. No documentation. Or at
least no complete documentation. It's all based on the book and some site
that can give you suggestions...it's too less.
Is there any person tha can tell me a complete reference of the language
(don't tell me the api, I'm
I'm writing an application for managing sites and people in this sites with
different roles.
In my menu.py I have, for example this code
if auth.has_membership('total-manager') |
auth.has_membership('pordenone-manager'):
response.menu.append(
('Sede Pordenone', False, None,
[
I tried to use Visual Studio Code like IDE for debugging web2py programs.
In the launch.json I inserted this:
{
"name": "Web2py",
"type": "python",
"request": "launch",
"stopOnEntry": true,
"pythonPath": "${config.python.pythonPath}",
Why the redirection is not working?
def mostra_evento():
evento_id=request.args(0)
query = (db.evento.id == evento_id)
db.evento.inizio.writable=db.evento.fine.writable=db.evento.risorsa.writable=db.evento.docente.writable=db.evento.materia.writable=False
I'm using a modal bootstrap to show a form from a table, this is the
funntion called from JS webcomponent
$.web2py.component("{{=URL('default', 'nuovo_evento.load')}}"+ "?titolo=" +
title +"=" + risorsa + "=" +start + "=" +
end,"modulo-evento");
Function of the controller:
def
and
> processing .
>
>
>
> Em quinta-feira, 23 de fevereiro de 2017 16:09:08 UTC-3, Andrea Fae'
> escreveu:
>>
>> When I click function select I want that appears a modal dialog using
>> jquery, asking some fields, and using this fields passing to controller
>
I want to pass data to a controller, this controller insert these data to a
database, and after returning to fullcalendar view...
Il giorno martedì 28 febbraio 2017 21:37:51 UTC+1, Andrea Fae' ha scritto:
>
> I have this code in a view (from a select funcion javascript)
>
>
>
I have this code in a view (from a select funcion javascript)
$.get('{{=URL('default','nuovo_evento')}}',{risorsa:eventData.resourceId,titolo:eventData.title,start:start,end:end});
this code call a controller
def nuovo_evento():
form=crud.create(db.evento)
return
When I use fullcalendar scheduler and call controller from menu. After
calling the controller and see the view menu item changing. It disappear
the arrow to click and it's not usable.
This is the menu
response.menu = [
('Sede Pordenone', False, None,
[
(T('Scheduler'),
Can you givem me examples about using this beautiful addon?
Il giorno giovedì 23 febbraio 2017 20:09:08 UTC+1, Andrea Fae' ha scritto:
>
> When I click function select I want that appears a modal dialog using
> jquery, asking some fields, and using this fields passing to controller
>
and im using it with web2py
>
> 2017-02-22 13:44 GMT+00:00 Marlysson Silva <marly...@gmail.com
> >:
>
>> Explain more your problem?
>>
>> You are using just javascript or want integrate with web2py?
>>
>>
>> Em sábado, 18 de fevereiro de 2017 16:11:30
I will be very grateful who can answer. thanks a lot!!
Il giorno sabato 18 febbraio 2017 20:11:30 UTC+1, Andrea Fae' ha scritto:
>
> Hello.
> From Javascript I need to ask some different values and promt is good only
> for 1 text box.
>
> I know that I have to use jqury modal d
Hello.
>From Javascript I need to ask some different values and promt is good only
for 1 text box.
I know that I have to use jqury modal dialog, but I don't know nothing
about it (I need to study?)
Is there anyone that can write me a very simple example? You have to know
that I have to use
7 20:47:20 UTC+1, Dave S ha scritto:
>
>
>
> On Monday, February 13, 2017 at 11:13:17 AM UTC-8, Andrea Fae' wrote:
>>
>> I sawnot working
>>
>
> Can you show your code? ESP is a very inefficient way to debug, and my
> tarot cards are wet from the
I sawnot working
Il giorno lunedì 13 febbraio 2017 17:34:50 UTC+1, Anthony ha scritto:
>
> Ajax. See http://web2py.com/books/default/chapter/29/11/jquery-and-ajax.
>
>
> On Monday, February 13, 2017 at 11:24:02 AM UTC-5, Andrea Fae' wrote:
>>
>> How to
nt from it, just create them from web2py...
>>
>> Richard
>>
>> On Mon, Feb 13, 2017 at 7:02 AM, Andrea Fae' <and...@gmail.com
>> > wrote:
>>
>>> Thank you for who can help me!
>>>
>>>
>>> Il giorno domenica 12 febbraio 2
How to pass variables from a view to a controller?
Ho to pass variables from a Javascript included in a view to a controller?
Thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
te a form in web2py, you know how to enter a record (even), you can
> retrieve these records, so... Instead of trying to mess with fullcalendar
> to create event from it, just create them from web2py...
>
> Richard
>
> On Mon, Feb 13, 2017 at 7:02 AM, Andrea Fae' <and...@gmail.
Why ajax('{{=URL('test', '')}}',[],''); it's not working? " 'test' is a
normal controller for test with a view very simple - see below
eventDrop: function(event, delta, revertFunc) {
if (!confirm("Sei sicuro di fare questa modifica?")) {
revertFunc();
Thank you for who can help me!
Il giorno domenica 12 febbraio 2017 11:46:06 UTC+1, Andrea Fae' ha scritto:
>
> Hello guys,
> I'm trying to use Fullcalendar scheduler for my application
>
> Now I can retrieve resources and event from database. Next step I have to:
> - create
Ho to call a controller function from:
- javascript (inside a view)
- from html view ({{put controller function here?}}
Can I have the exact syntax on both cases?
Thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
Hello guys,
I'm trying to use Fullcalendar scheduler for my application
Now I can retrieve resources and event from database. Next step I have to:
- create new events simply clicking and dragging to the scheduler
fullcalendar and saving event to the database
- when moving or resizing events,
).css('background-color', 'silver');
> {{pass}}
>/*$('td[data-date="' + '{{=row.start_date}}' +
> '"]').addClass('fully_colored_holiday');*/
> $('.fc-other-month').html('');
> $('.fc-other-month').css(&qu
Any people can tell me how to load from database table resources to show
using this add-on?
https://fullcalendar.io/scheduler/
Any suggestion? Thanks a lot
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
r
> https://github.com/mdipierro/kusoma/blob/master/controllers/calendar.py
> Perhaps it can be useful.
>
>
> On Sunday, 5 February 2017 07:44:22 UTC-6, Andrea Fae' wrote:
>>
>> I want to use this add-on with web2py
>>
>> https://fullcalendar.io/scheduler/
&g
Yes, thank you, but why this syntax? r=request,c='static',f='myview.css'
Il giorno domenica 5 febbraio 2017 15:36:02 UTC+1, Nico de Groot ha scritto:
>
> response.files is a list of filenames that will be included while
> rendering the view. You can add your own .css and .js files to this list
I want to use this add-on with web2py
https://fullcalendar.io/scheduler/
How to load resource data from a database, for example?
I need scheduler information with web2py.
Is there any person with experience using this add-on?
Thank you
--
Resources:
- http://web2py.com
-
What is the meaning and syntax of lines like this? Where I can find?
response.files.append(URL(r=request,c='static',f='myview.css')
Thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
How to don't show the button "share" in the right bottom part of a web2py
application?
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
I tried this
form = crud.create(db.ticket, next='lista_ticket',onaccept=lambda
form,asset=asset:send_email_ticket(form,asset))
form[0][-1][1].append(TAG.BUTTON('Cancel',_onclick="document.location='%s';"%URL('index')))
But Cancel button doesn't appear. What is wrong? Thank you
--
You are great! Thank you very much.
Il giorno giovedì 26 gennaio 2017 01:06:48 UTC+1, Leonel Câmara ha scritto:
>
> Yes, I'm sorry Andrea, I don't use the grid much nowadays, that's because
> you're using request.args(0) and the grid also uses args, when it sees your
> arg it thinks it should
Thanks a lot, but nevertheless it's not working.
flash tell me I'm not authorized
The function modified is this
def lista_asset():
if (request.args(0) == 'SC'):
query = (db.asset.tipo=='SC') & (db.asset.is_active==True)
else:
query = (db.asset.is_active==True)
Thanks but it's not the question. I wanted to pass some arguments to
function like this...
('Scanner operativi', False, URL('default', 'lista_asset', *args='SC*')),
but when I use in the function the system told me in session.flash "Not
authorized" and doesn't show me what I
How to pass arguments to menu item? That can be retrieved by a function?
Can I have a simple example?
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
Where can I find conditional validation documentation?
Il giorno venerdì 20 gennaio 2017 17:22:14 UTC+1, Andrea Fae' ha scritto:
>
> Hello guys, I need to have a dependent field in a table.
> If the field "is_active" = True then I cannot insert in the field "date&quo
Hello guys, I need to have a dependent field in a table.
If the field "is_active" = True then I cannot insert in the field "date"
nothing.
If the field "is_atvie" = False then I can or not insert something in the
field "date".
How to do in the definition of table? Or it's better to use
Can anyone explain exatly this?
db = DAL(myconf.get('db.uri'),
pool_size=myconf.get('db.pool_size'),
migrate_enabled=myconf.get('db.migrate'),
check_reserved=['all'])
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Maybe I resulved in this way:
auth.define_tables(username=..., signature=...,
migrate='',fake_migrate=True)
Il giorno giovedì 19 gennaio 2017 15:52:57 UTC+1, Andrea Fae' ha scritto:
>
> I have this situazione.
> The auth tables are named like
> c8b669d15150d7109e5f7ab36744a5b7_aut
I have this situazione.
The auth tables are named like
c8b669d15150d7109e5f7ab36744a5b7_auth_user.table
the other tables are named like
sede.table
pc.table
etc.
I would like to rename auth talbe like "auth_user.table",
"auth_permission.table", etc.
How to do?
Thenks
--
Resources:
-
morevoer I want to rename the name of auth tables files but this tables are
totally standard...I have to modify db.py?
Il giorno giovedì 19 gennaio 2017 15:07:38 UTC+1, Andrea Fae' ha scritto:
>
> It's not working. I want to rename the name of the tables but in
> production I d
igrate=false and fake_migrate=True then set back
> migrate=True between these change you have to make a page reload (any page)
> of you app... It will force web2py to reanalyse and sync web2py with the
> backend.
>
> Note: In production, you should set migrate to false
>
> R
Why if I delete .table files and log file inside database
folder sqlite I have this error? sqlite is or not a only one file? Is it
something regarding migrate=true or false? Can I have a better explanation
than the book? Thank you
--
Resources:
- http://web2py.com
-
I need to type "python web2py.py -a "password" with double quote!
Il giorno lunedì 16 gennaio 2017 21:04:49 UTC+1, Dave S ha scritto:
>
>
>
> On Monday, January 16, 2017 at 2:48:20 AM UTC-8, Andrea Fae' wrote:
>>
>> Hello, I symply installed:
>> - pyth
Yes, but how? Where?
Il giorno lunedì 16 gennaio 2017 17:03:22 UTC+1, Leonel Câmara ha scritto:
>
> Append "change_password" to auth.settings.actions_disabled if the user has
> a registration_id
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Only for users with a value in "registration_id" I want di disable the
change password function. How to do? 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
101 - 200 of 214 matches
Mail list logo