Both cases it's done from source
Cheers,
Julian
On Monday, June 20, 2016 at 6:27:05 PM UTC-5, Anthony wrote:
>
> In both cases, are you running Python from source, or is the GUI case with
> the Mac binary?
>
> Anthony
>
> On Monday, June 20, 2016 at 7:22:08 PM UTC-4, Julian Sanchez wrote:
>>
>>
I upgraded my Python to 2.7.11 and the problem solved!
This might be a bug!
On Tuesday, June 21, 2016 at 11:14:56 AM UTC+4:30, Kiran Subbaraman wrote:
>
> That's the expected output. And also the code that you executed is the
> crux of the rss(feed) encoding code.
> So, am not sure why you are
I have a custom register function:
def myregister():
response.view = 'default/myregister.html'
form = auth.register()
if form.validate():
# my custom code
elif form.errors:
get_flash(response, None, 'danger', 'error')
elif not response.flash:
get_flash
Good to know, this is sorted out.
Kiran Subbaraman
http://subbaraman.wordpress.com/about/
On Tue, 21-06-2016 4:25 PM, Sepehr Mohamadi wrote:
I upgraded my Python to 2.7.11 and the problem solved!
This might be a bug!
On Tuesday, June 21, 2016 at 11:14
.register already calls .validate - you cannot call it twice (by design, the
CSRF token survives only one validation).
Anthony
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/lis
Hello,
I have a strange issue... I have 2 forms that get append to a page
container as component with LOAD()...
If I use form alone, they worked properly (only loading single component).
But if I append both forms (loading both at the same time), one of my forms
don't work properly.
What happ
Code please.
--
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-users" gro
As you which!!
# Controllers
Form 1
def phone_numbers_form():
"""
phone_numbers_form() allow to create/update/display phone(s) number(s).
Args (vars):
readonlyform: If set to "True" the function only display phones
numbers in row, no create form and buttons
You will need websocket_messaging/tornado for doing such a thing...
Richard
On Tue, Jun 21, 2016 at 12:21 AM, 'FERNANDO VILLARROEL' via web2py-users <
web2py@googlegroups.com> wrote:
> Dear All.
>
> I hope you could me explain how i can do the follow idea:
>
> If a have a user registered like us
Thank you anthony, it worked!
El lunes, 20 de junio de 2016, 18:25:13 (UTC-5), Anthony escribió:
>
> This is not the intended purpose of show_if. It is only used to
> dynamically hide or show fields in the form, based on the values of other
> fields in the form (so, the query must refer to other
On Monday, June 20, 2016 at 10:56:05 AM UTC-7, Dave S wrote:
>
>
>
> On Saturday, June 18, 2016 at 5:47:42 AM UTC-7, DNeuman wrote:
>>
>> I thought I had the same problem, so followed the advice - I have done
>> this, and now get the error:
>>
>> OperationalError: table auth_user already exists
Ok Richard
Thank you for you answer.
Enviado desde mi iPhone
> El 21-06-2016, a las 11:25, Richard Vézina
> escribió:
>
> You will need websocket_messaging/tornado for doing such a thing...
>
> Richard
>
>> On Tue, Jun 21, 2016 at 12:21 AM, 'FERNANDO VILLARROEL' via web2py-users
>> wrote:
Been swamped with work and haven't had time to get bet back to this.
Thanks for the reply. I will definitely try that. I'm assuming this is
simply a stupid mistake on my part.
On Thursday, June 16, 2016 at 5:26:01 AM UTC-4, pbreit wrote:
>
> How about trying some code more like in the bo
Any clue?
On Tue, Jun 21, 2016 at 10:51 AM, Richard
wrote:
> As you which!!
>
> # Controllers
> Form 1
> def phone_numbers_form():
> """
> phone_numbers_form() allow to create/update/display phone(s) number(s).
>
> Args (vars):
> readonlyform: If set to "True" the function on
On Tuesday, 21 June 2016 01:27:05 UTC-4, Anthony wrote:
>
> You make claims about how a "wrapper application" *must* look without
>>> demonstrating *why* it must look like that.
>>>
>>
>> Yes and they are not based on any use case. They are based on what seems
>> natural. Some times, we have de
Hi
I am using {{redirect(URL('GetData'))}}, the result of this view is getting
appended to results of calling view, is there a way I can just display only
results of redirected view
for example if i am calling redirect from view A to view B I am seeing the
results of views A and B, please help
Team,
how do i disable the checkbox message "Prevent this page from creating
additional dialogs", for my requirement i should be able to show the flash
message but don't want to give an option for the user to check the message
"Prevent this page from creating additional dialogs.""
enclosing sc
Please provide code... I guess you are using component and .load get
propagated, but can't be sure...
Richard
On Tue, Jun 21, 2016 at 4:17 PM, wrote:
> Hi
>
> I am using {{redirect(URL('GetData'))}}, the result of this view is
> getting appended to results of calling view, is there a way I can
I made a few changes on a DigitalOcean server running Web2py + uwsgi +
nginx. The changes were to routes.py and to a couple of views. None of
these are showing up on the webpage. I tried restarting uwsgi and nginx and
even rebooting the VPS altogether, but still the changes don't show up. I
als
Hello,
I wrote a module to use the Part of Speech Tagger Hunpos in web2py.
The module takes a text file tokenized as one token (word) per line as
input and perfectly creates and writes into another text file with one
token and its POS (Part of Speech) Tag separated with a tab character in
one
On Tuesday, 21 June 2016 00:20:07 UTC-4, Anthony wrote:
>
> I'm not saying web2py can easily handle all possible cases, and its
> execution model probably does introduce some limitations, but it would be
> easier to explore the limitations and possible workarounds with some
> concrete example
On Tuesday, June 21, 2016 at 1:24:59 PM UTC-7, ktesr...@gmail.com wrote:
>
> Team,
>
> how do i disable the checkbox message "Prevent this page from creating
> additional dialogs", for my requirement i should be able to show the flash
> message but don't want to give an option for the user to c
Is this in an application during an http request, or in a script run on it's
own? If the latter, you must call db.commit() to commit the inserts.
Also, do you get any errors?
Anthony
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (S
Perhaps, you already provided the answer:
wsgihandler.py is *where* you would call the entry point to your wrapper
application (and by the way, it doesn't have to be there -- you could put
it anywhere, as long as you tell your web server where it is), but the
wrapper application code itself can
I found the solution and I knew it was a silly mistake.
I forgot to add db = current.db at the beginning of the function.
Thanks anyway, maybe this answer will help others, there was no other
mistake in the code, it works like a charm.
22 Haziran 2016 Çarşamba 01:05:40 UTC+3 tarihinde Oguz Erkman
Is your application compiled?
--
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
"
Just overwrite the Bootstrap css in your applications css:
.navbar-default .navbar-nav > li > a:hover {background-color: #1f2f3f;}
Kind regards,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.goog
Hi Anthony,
Thanks for your reply.
.register already calls .validate - you cannot call it twice (by design,
> the CSRF token survives only one validation).
I solved it by replacing form = auth.register() with:
form = SQLFORM.factory(db.auth_user,
Field('password_two', type='
I want to display a simple message to user like alert in javascript, user
will see the message and click on OK to continue
On Tuesday, June 21, 2016 at 2:24:59 PM UTC-6, ktesr...@gmail.com wrote:
>
> Team,
>
> how do i disable the checkbox message "Prevent this page from creating
> additional di
Team,
I keep getting Indentation error whenever i try to add code in the middle
please help how can i resolve this.
every time i have to adjust the indentation for all the lines in that
controller
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/w
Or you could use your original code and just change "if form.validate()" to
"if form.accepted".
On Wednesday, June 22, 2016 at 12:57:34 AM UTC-4, Annet wrote:
>
> Hi Anthony,
>
> Thanks for your reply.
>
> .register already calls .validate - you cannot call it twice (by design,
>> the CSRF token
On Tuesday, 21 June 2016 00:20:07 UTC-4, Anthony wrote:
>
> However, for a programmer, the application is what is created when we
>> create a new folder in the applications folder. A wrapper application has
>> to be an application separated, in terms of its declaration, from the
>> wrapped app
32 matches
Mail list logo