Hi,
I found this talk interesting
http://www.youtube.com/watch?v=d1a4Jbjc-vU&feature=share
Jessica McKeller talks about how "windows OS" is important to the future of
Python, and how it is complicated to use Python on windows nowadays.
And I think that *web2py is the only framework that does a g
Thank you for the response, will try everything you said and post it if
every thing goes correct
On Thursday, 12 September 2013 00:34:31 UTC+5:30, Niphlod wrote:
>
>
>
> On Wednesday, September 11, 2013 5:44:00 PM UTC+2, ajith c t wrote:
>>
>> sorry I am not executing the code in the load balance
usually this is due to gluon not being in sys.path directly.
BTW: we should adopt something standard in imports too throughout all the
code. Either we do
from gluon.module import something
or
from module import something
I vote for the 1st option.
Il giorno giovedì 12 settembre 2013 03:52:18
Hi,
I got a problem with one of my database tables. The field 'title' isn't set
to be unique. But inserting a row using filter_fields() ends with error
"title is not unique".
db.define_table('task',
Field('title', unique=False),
Field('description', 'text', notnull=True),
format='%(title
Your "title" field was unique in the past, so you changed it to non-unique
in model definition?
If so, the sad news is that SQLite does not support the "ALTER TABLE"
command for columns, it means once defined, the column attributes cant be
changed.
The only solution I know is to install an app
Not strictly a web2py question.
We have an app which serves embedded videos to identified, logged in users.
The videos are hosted on vimeo. We'd like to know if a user clicks on a
link, and record that in a table.
I could send the link destination back to a web2py controller function
which woul
I prefer the 1st one.
On Thu, Sep 12, 2013 at 8:58 AM, Tim Richardson wrote:
> Not strictly a web2py question.
> We have an app which serves embedded videos to identified, logged in users.
> The videos are hosted on vimeo. We'd like to know if a user clicks on a
> link, and record that in a table
Thanks a lot Bruno. That worked for me.
--
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
:-)
On Thursday, 12 September 2013 02:00:39 UTC-5, rochacbruno wrote:
>
> Hi,
>
> I found this talk interesting
> http://www.youtube.com/watch?v=d1a4Jbjc-vU&feature=share
>
> Jessica McKeller talks about how "windows OS" is important to the future
> of Python, and how it is complicated to use Py
I agree. Less ambiguitiy
On Thursday, 12 September 2013 02:18:32 UTC-5, Niphlod wrote:
>
> usually this is due to gluon not being in sys.path directly.
>
> BTW: we should adopt something standard in imports too throughout all the
> code. Either we do
> from gluon.module import something
> or
>
db.invoice_header.is_authorized is a Field. it's not a record fetched from
the db... you'd likely want to check if any record of the table has an
is_authorized field thjat carries True as a value, not the field definition
^_^
tl;dr: if you have a bunch of rows in that table and users should be
Hello all,
I have web2py installed on my Raspberry Pi. I have downloaded the source
code from the website as well as trying to follow this instructable:
http://www.instructables.com/id/Raspberry-Pi-GPIO-home-automation/
Neither of these install methods include the option to launch a public
se
what ip address gets assigned to the raspberry ? (see the output of
ifconfig).
No matter what, you can always run web2py using 0.0.0.0, that means "accept
connections listening on all ip addresses"
On Thursday, September 12, 2013 11:28:39 PM UTC+2, Zachary Burrows wrote:
>
> Hello all,
>
> I ha
so let's go for all imports done prefixing them with gluon or the other one
? I'll put it in the roadmap ^_^
On Thursday, September 12, 2013 11:26:17 PM UTC+2, Michele Comitini wrote:
>
> +1
>
>
>
> 2013/9/12 Massimo Di Pierro >
>
>> I agree. Less ambiguitiy
>>
>>
>> On Thursday, 12 September 201
a programmer is working to assist me, so cancel my request for help. let
me know if interested in seeing code when done
thanks,
Alex Glaros
On Wednesday, September 11, 2013 2:39:02 PM UTC-7, Alex Glaros wrote:
>
> I’d like help in building a universal address function for all countries.
> I’
+1
2013/9/12 Massimo Di Pierro
> I agree. Less ambiguitiy
>
>
> On Thursday, 12 September 2013 02:18:32 UTC-5, Niphlod wrote:
>>
>> usually this is due to gluon not being in sys.path directly.
>>
>> BTW: we should adopt something standard in imports too throughout all
>> the code. Either we d
I will check ifconfig and let you know what IP it gets assigned. I assumed
that I needed to log on to the same IP address that is displayed in my
browser on the Pi. Is this not the case? I have tried the 0.0.0.0 this way
with no luck.
-Zach
On Thursday, September 12, 2013 2:33:11 PM UTC-7, N
Web2py 2.6.1 is finally OUT. It needs some more testing.
READ BELOW BEFORE UPGRADING
Attention all users: For pre 2.6 applications to work with web2py
>=2.6, you must copy static/js/web2py.js, controllers/appadmin.py, and
views/appadmin.html from the welcome app to your own apps (all of th
Hi,
I'm currently building my own blog system, and i have a function which
allows a post to be deleted by its poster. But i would like web2py to
prompt a windows first saying "Are you sure?"
When you click yes it should delete the item, if you click no.. then
nothing happens
How would i go ab
thank you so much for your detail explaination, niphlod.
it works well, now.
e.g.
def __grid_1(header, detail):
is_authorized = lambda row : row.is_authorized == True
is_not_authorized = lambda row : row.is_authorized == False
if is_not_authorized:
grid = SQLFORM.smartgrid(header, linked_tables=[d
Hi Jason,
Thanks for reply.
But I don't want pass controller variable into view javascript.
I have python variable defined in view itself and now want to pass this
variable to javascript.
here is code:
{{x = [86, 2, 31, 153, 192, 245, 435, 459]}}
Now I want to call this x variable in javascript
def yourpage():
form = SQLFORM.confirm('are you sure?')
if form.accepted: redirect(.)
return dict(form=form)
On Thursday, 12 September 2013 15:47:18 UTC-5, Ruud Schroen wrote:
>
> Hi,
>
> I'm currently building my own blog system, and i have a function which
> allows a post to be
+1
Thank you Massimo!
Il giorno venerdì 13 settembre 2013 00:27:37 UTC+2, Massimo Di Pierro ha
scritto:
>
> Web2py 2.6.1 is finally OUT. It needs some more testing.
>
> READ BELOW BEFORE UPGRADING
>
> Attention all users: For pre 2.6 applications to work with web2py
> >=2.6, you must copy
Anybody see anything wrong with the second controller below that gets
called by the first one?
The error is that no data gets written to table IdeaComment, but if I
substitute "smartgrid" for "factory", all suggestions instead of just the
one selected in the first controller get displayed, and
in the view.html
var x = {{="[86, 2, 31, 153, 192, 245, 435, 459]"}};
just call the x in your java Script window context now!
On Thursday, September 12, 2013 6:54:00 PM UTC-3, sonu kumar wrote:
>
> Hi Jason,
> Thanks for reply.
> But I don't want pass controller variable into view javascript.
Thank you. The majority of the improvements in this version come from you
(Michele) and niphlod (Simone).
Massimo
On Thursday, 12 September 2013 18:53:50 UTC-5, Michele Comitini wrote:
>
> +1
>
> Thank you Massimo!
>
>
> Il giorno venerdì 13 settembre 2013 00:27:37 UTC+2, Massimo Di Pierro ha
>
Great news!.
Thanks to everybody for do a better web2py every day.
El sep 12, 2013 8:21 PM, "Massimo Di Pierro"
escribió:
> Thank you. The majority of the improvements in this version come from you
> (Michele) and niphlod (Simone).
>
> Massimo
>
> On Thursday, 12 September 2013 18:53:50 UTC-5, M
hi,
is it possible to have conditional in smartgrid that refer to the boolean
type of field?
e.g.
*default.py*
def invoice():
is_authorized = db.invoice_header.is_authorized==True # for testing, print
the value in the html output
if db.invoice_header.is_authorized==True:
grid = SQLFORM.smartgri
On Wednesday, August 21, 2013 11:58:36 AM UTC-7, Dave S wrote:
>
> One thing I haven't figured out yet is if web2py has logging of its
> activity (startup, requests seen, etc) other than what I might record in my
> app's DB.
>
>
Finally looked a second time at Chapter 14, and found the httpserv
On Monday, August 12, 2013 7:07:14 AM UTC-7, Michael Beller wrote:
>
> Update ...
>
> I found one problem: when I was dynamically adding form fields as html
> elements, I wasn't adding them as field objects to the form object on the
> postback so w2p didn't know about the fields for validation.
I would be interested in seeing the complete code when done. 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
And thanks to you Roberto, who also contributed with many patches!
On Thursday, 12 September 2013 19:55:38 UTC-5, Roberto Perdomo wrote:
>
> Great news!.
>
> Thanks to everybody for do a better web2py every day.
> El sep 12, 2013 8:21 PM, "Massimo Di Pierro"
> >
> escribió:
>
>> Thank you. The m
congrats, guys.
It's becoming much better.
On Fri, Sep 13, 2013 at 12:02 AM, Massimo Di Pierro
wrote:
> And thanks to you Roberto, who also contributed with many patches!
>
>
> On Thursday, 12 September 2013 19:55:38 UTC-5, Roberto Perdomo wrote:
>>
>> Great news!.
>>
>> Thanks to everybody for
33 matches
Mail list logo