Hie folks.. I know this question is already been asked but I didn't get any
help from those answers. please hava look at this
I am unable to send email in server(to be specific webfaction.com) ...
but it's running fine on local host
all these three lines in db.py are set to true.
auth.set
> good luck you and web2py deserve it.
>
--
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 the Goo
Hello Massimo,
Thank you very much for your answer.
I've made a copy&paste of your code, my code is now:
def logout():
if auth.user:
auth.logout(logout_onlogout=lambda user: session.auth=None)
but I get a "invalid syntax error in line 154 char 61" trying to save the
file:
line 154
Hi,
for some reason some external links converted the ?id=10 in one of my urls
to %3Fid%3D10 my question is how can I convert that request back to the
existing url. Preferably for all sites if it should happen again.
Do I have to do some nginx magic to do that or can it be done within web2py?
tha
Thanks, that seems the kind of thing I want, however it seems to be on
about "legacy_db" - what does that mean/do?
Also, the output is rather shorter than I expected. Each table entry only
contains:
#
> legacy_db.define_table('wfs100getfeature',
> migrate=False)
Is this all I need
2) Tables are only archived if they have a Field('modified_on','datetime')
such as created by the signature.
Without it you do not know when changes are made and versioning is useless.
1) Does this work?
# on_define_bank
def on_define_bank(table):
pass
# create table : bank
db.define_table('ba
Try:
auth.logout(onlogout=lambda user: session.update({'auth':None}))
On Saturday, 4 January 2014 05:56:23 UTC-6, Wonton wrote:
>
> Hello Massimo,
>
> Thank you very much for your answer.
>
> I've made a copy&paste of your code, my code is now:
>
> def logout():
> if auth.user:
>
How are you generating those links? Can you show the code?
On Saturday, 4 January 2014 05:57:10 UTC-6, BlueShadow wrote:
>
> Hi,
> for some reason some external links converted the ?id=10 in one of my urls
> to %3Fid%3D10 my question is how can I convert that request back to the
> existing url.
>
> Hie folks.. I know this question is already been asked but I didn't get
> any help from those answers. please hava look at this
> I am unable to send email in server(to be specific webfaction.com) ...
> but it's running fine on local host
>
Have you checked this thread?
https://gro
Is "logout_onlogout=" or "onlogout=", both ways have no errors and I guess
the logout has been made correctly.
If I put again the prints:
def logout():
if auth.user:
print 'check 1'
auth.logout(logout_onlogout=lambda user:
session.update({'auth':None}))
print 'check
On Saturday, January 4, 2014 7:15:58 PM UTC+7, Massimo Di Pierro wrote:
>
> 2) Tables are only archived if they have a Field('modified_on','datetime')
> such as created by the signature.
> Without it you do not know when changes are made and versioning is useless.
>
it's make sense and make me cl
pardon me, which script that you execute? because in the scripts folder
there is 4 scripts for extract the table into models (mysql, oracle, pgsql
and sqlite). and which web2py version did you use and what is your os
environment? please use the script that match with your database backend.
and
it is either
auth.settings.logout_onlogout = ...
or
auth.logout(onlogout= ...)
As I answered in my previous response. logout always redirects so check2
will never be printed.
On Saturday, 4 January 2014 06:32:39 UTC-6, Wonton wrote:
>
> Is "logout_onlogout=" or "onlogout=", both ways have no
just make a correction the example 3 is unlazy table.
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 beca
Hi Stifan,
> pardon me, which script that you execute? because in the scripts folder
> there is 4 scripts for extract the table into models (mysql, oracle, pgsql
> and sqlite). and which web2py version did you use and what is your os
> environment? please use the script that match with your dat
External links to my side from a diffrent website i got no control over.
Thats the problem
Am 04.01.2014 13:21 schrieb "Massimo Di Pierro" :
> How are you generating those links? Can you show the code?
>
> On Saturday, 4 January 2014 05:57:10 UTC-6, BlueShadow wrote:
>>
>> Hi,
>> for some reason s
Hello :)
I have following code in controller:
session.config = dict(NAME = 'a')
form = SQLFORM.dictform(session.config)
form.custom.widget.NAME['requires'] = IS_IN_SET(('a','b','c','d','e'),
error_message="Choose between a and e")
if form.process().accepted:
session.config.update(form.
Haven't tested it, but looks good. I left a comment on github suggesting a
more helpful error message.
Anthony
On Friday, January 3, 2014 11:01:19 PM UTC-5, Massimo Di Pierro wrote:
>
> OK. Done. Please check it.
>
> On Friday, 3 January 2014 20:54:02 UTC-6, Anthony wrote:
>>
>> I agree. Because
May the Lord bless you and your wonderful Framework and Community
magnificently, Massimo.
Love and peace,
Joe
On Friday, January 3, 2014 8:08:38 PM UTC-8, Massimo Di Pierro wrote:
>
> Web2py/me have been nominated for the Edison Award. Please wish web2py
> (and me) good luck. :-)
>
>
--
Res
The Community is growing.
Congratulations, Massimo.
Love and peace,
Joe
On Wednesday, January 1, 2014 2:06:30 PM UTC-8, Massimo Di Pierro wrote:
>
> Happy new year everybody,
>
> some good news:
> 1) python is growing popularity
>
> https://sites.google.com/site/pydatalog/pypl/python-blog/pytho
>
> - A session file is created associated to a user each time that user logs
> in. Is this ok?
>
Yes, it is OK.
> - My users make a login through auth.login_bare(user, password), does this
> create a session file then?
>
Yes.
> - What should be the code to remove the session file of a u
hey everyone,
under db.py i have:
auth.settings.login_onaccept = check_login
auth.settings.register_onaccept = check_login
def check_login(form):
redirect(URL(c="default", f="onlogin"))
return
and then under default, the onlogin function, checks the status of the
subscription and displ
Richard, is this feature unreliable at this point or am i using it
incorrectly?
On Friday, January 3, 2014 12:54:12 PM UTC-8, Brando wrote:
>
> Version
>>
>> 2.8.2-stable+timestamp.2013.11.28.13.54.07
>> (Running on Rocket 1.2.6, Python 2.7.3)
>>
>
>
>
>
>
> Also, I doubt it's relevant, but I'
Congrats. :-D
On Sat, Jan 4, 2014 at 2:08 AM, Massimo Di Pierro
wrote:
> Web2py/me have been nominated for the Edison Award. Please wish web2py (and
> me) good luck. :-)
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Sourc
The function you seek for is urllib.unquote but without a concrete example
of how the wrong link is generated I am not sure about how to apply that
function.
On Saturday, 4 January 2014 10:35:14 UTC-6, BlueShadow wrote:
>
> External links to my side from a diffrent website i got no control over.
ok, i answered my own question. under the check_login function, i was able
to access the request.env.query_string to see the next, after login, URL
and i was able to redirect appropriately. sweet. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github
Well deserved.. good luck and have fun..
On Sat, Jan 4, 2014 at 3:19 PM, Vinicius Assef wrote:
> Congrats. :-D
>
> On Sat, Jan 4, 2014 at 2:08 AM, Massimo Di Pierro
> wrote:
> > Web2py/me have been nominated for the Edison Award. Please wish web2py
> (and
> > me) good luck. :-)
> >
> > --
> > R
Happy New year Massimo and all the contributors who have made web2py so awesome!
--
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
Good luck Massimo!!!
--
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 the Google Groups
"web2py-us
Best of luck.
Hope you (and web2py) bring back an award.
On Friday, January 3, 2014 11:08:38 PM UTC-5, Massimo Di Pierro wrote:
>
> Web2py/me have been nominated for the Edison Award. Please wish web2py
> (and me) good luck. :-)
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (D
Way to go !!
Congrats !
2014/1/5 Cliff Kachinske
> Best of luck.
>
> Hope you (and web2py) bring back an award.
>
>
> On Friday, January 3, 2014 11:08:38 PM UTC-5, Massimo Di Pierro wrote:
>>
>> Web2py/me have been nominated for the Edison Award. Please wish web2py
>> (and me) good luck. :-)
>>
Happy new year!
2014/1/5 Calvin
> Happy New year Massimo and all the contributors who have made web2py so
> awesome!
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues
32 matches
Mail list logo