strange but true: forking does not automatically star.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more optio
Thanks Niphlod. The scheduler really is a most excellent thing to use.
On Sunday, August 25, 2013 12:07:09 AM UTC+12, Niphlod wrote:
>
> Thanks for spotting this. Scheduler global variables are safe in the
> scheduler module, but inside the function that creates the environment to
> run the task
Please open a ticket with your patch so I do not forget. I will look at it
carefully tomorrow. I welcome more discussion on the topic.
On Sunday, 25 August 2013 21:15:04 UTC-5, mr.freeze wrote:
>
> Precisely why I am pushing for a generic onrender method. Adding an
> attributes property to eithe
Precisely why I am pushing for a generic onrender method. Adding an
attributes property to either the field or the widget only couples it to
the presentation layer further. Also, attributes are only one aspect of
the usage. Others would be value based modification, wrapping the element
or appe
Did you see
this: http://www.web2pyslices.com/slice/show/1481/install-web2py-in-the-ipad
Does it help?
On Tuesday, 14 May 2013 17:51:06 UTC-5, Allan K wrote:
>
> Hi,
>
> I need to work with an app for web2py, but I do not know if I can use
> web2py with iOS and install apps as I can with windo
I like this better than the original proposal but I am still unhappy. I
think Field(...widget=...) is already too much coupling between the
database layer and the presentation (form) layer. I do not think this
coupling should be increased. Can we do something like:
db.table.field.widget.attribu
thanks for the post. I ignored the existence of
this: http://www.reddit.com/r/web2py
On Sunday, 25 August 2013 15:53:44 UTC-5, Michael Herman wrote:
>
> in case anybody is interested ...
>
> http://mherman.org/blog/2013/08/25/custom-apache-config-for-php-and-web2py/
>
> it's on reddit (web2py su
So what I’m trying to do is have an ajax function that would sort a list in
the view that is defined in the controller.
Ex.
View
sort
{{for item in sorted_list:}}
{{=item}}
{{pass}}
Controller
sorted_list = [some_array_elements]
ajax function
???
Any help on how to do
here's one ...
https://itunes.apple.com/gb/app/python-2.7-for-ios/id485729872?mt=8
On Sunday, 25 August 2013 23:04:22 UTC+1, Christian Foster Howes wrote:
>
> to run a web2py server on iOS that would require a python interpreter on
> iOS, and i don't know of one that exists.
>
> cfh
>
> On Sat
>
> Hi guys, I am working on an application using web2py framework, and I need
> to import a csv file that has a size of 700MB. Is there a faster way to
> import it into the database ? I have tried the database administration
> tool, but it takes forever.
>
Have you tried the web2py shell?
]
Hi guys, I am working on an application using web2py framework, and I need
to import a csv file that has a size of 700MB. Is there a faster way to
import it into the database ? I have tried the database administration
tool, but it takes forever.
PS: I am a newbie.
Thank you.
--
---
You re
> "Ok, the thing is that there are no hooks in rendering cause all the
>>> rendering is meant to be happen in your own widget." - I disagree. You
>>> can
>>> modify a SQLFORM after it renders. I am simply trying to achieve a
>>> similar
>>> effect at the Field level.
>>>
to run a web2py server on iOS that would require a python interpreter on
iOS, and i don't know of one that exists.
cfh
On Saturday, August 24, 2013 5:26:34 PM UTC-7, vince wrote:
>
> i believe what he means is, create an ios app actually running web2py on
> the device as backend server and with
joe,
about the money validator - if you set widget *and* requires on the Field
object then you won't have the default integer validator. just make sure
that your validator converts the string/decimal number to an int so that it
can be stored in the DB (which expects an int).
good luck!
cfh
Web2py + RestAPI + lungo.tapquo.com + phonegap = Mobile aplication
El martes, 14 de mayo de 2013 17:51:06 UTC-5, Allan K escribió:
>
> Hi,
>
> I need to work with an app for web2py, but I do not know if I can use
> web2py with iOS and install apps as I can with windows and macOS.
>
> Thanks.
>
BTW, I don't think you would ever use list:string or list:integer without
IS_IN_SET or IS_IN_DB. From the book:
"While list:reference has a default validator and a default representation,
list:integer and list:string do not. So these two need an IS_IN_SET or an
IS_IN_DB validator if you want to
in case anybody is interested ...
http://mherman.org/blog/2013/08/25/custom-apache-config-for-php-and-web2py/
it's on reddit (web2py sub) and i just posted on hacker news - upvote if
you want!
cheers!
--
---
You received this message because you are subscribed to the Google Groups
"web2
It still works fine for me after removing IS_IN_SET. What are you seeing?
On Sunday, August 25, 2013 3:24:46 PM UTC-5, Niphlod wrote:
>
> try to remove the requires=IS_IN_SET...
>
> On Sunday, August 25, 2013 9:31:09 PM UTC+2, mr.freeze wrote:
>>
>> No grudge here. Just making my case for what I
On 25 Aug 2013, at 1:38 PM, Joe Barnhart wrote:
> Call me a Luddite but I still like hg. Maybe it's cuz it's written Python...
> ;-)
Me too. But git won, so...
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this g
It has been quite some time since the topic was updated. So I was curious
to the status of web3py. I know it's not done and I'm not asking for a
release date. I am just wondering what is going on currently.
On Wednesday, December 26, 2012 5:14:16 AM UTC-8, Alec Taylor wrote:
>
> +1 to WebRTC exa
Call me a Luddite but I still like hg. Maybe it's cuz it's written
Python... ;-)
-- Joe
On Sunday, August 25, 2013 4:44:01 AM UTC-7, Massimo Di Pierro wrote:
>
> We could. It helps me to have two copies. I have messed up the git repo a
> couple of times.
>
> On Sunday, 25 August 2013 05:01:21
I just discovered that dictform and smartdictform override my "requires"
and add their own, based on the type of the Field. It somewhat defeats the
purpose of having a custom widget.
-- Joe
On Sunday, August 25, 2013 7:51:30 AM UTC-7, Niphlod wrote:
>
> -1 on the patch.
>
> I don't really get
try to remove the requires=IS_IN_SET...
On Sunday, August 25, 2013 9:31:09 PM UTC+2, mr.freeze wrote:
>
> No grudge here. Just making my case for what I consider to be a useful
> patch. The overhead should be nominal since it only adds a null check and
> moves on (premature optimization is the
I seem to keep underestimating the widget classes and their power.
Reading the code I can see that widgets pretty much "own" the fields and
their representation in all respects. I can change input class,
"represents", "requires" and pretty much anything else the Field needs to
show itself.
The javascript date validator seems to be using "click" to decide when to
pop up. I notice when I tab into and out of the field the date widget is
not correctly dealt with. Most obnoxiously, it stays up when I tab out of
a field and continues to block form elements below the date field.
I'l
No grudge here. Just making my case for what I consider to be a useful
patch. The overhead should be nominal since it only adds a null check and
moves on (premature optimization is the root of all evil). Copy/paste is
bad for code reuse. As the default widgets improve over time, the
copied/pa
After using this, I am convinced it is generally useful. Otherwise, I have
to create custom widgets for each field. I cleaned up the patch and
submitted it here: http://code.google.com/p/web2py/issues/detail?id=1648
On Sunday, August 25, 2013 2:07:10 PM UTC-5, Niphlod wrote:
>
>
>
> On Sunday
On Sunday, August 25, 2013 6:45:21 PM UTC+2, mr.freeze wrote:
>
> "Ok, the thing is that there are no hooks in rendering cause all the
>> rendering is meant to be happen in your own widget." - I disagree. You can
>> modify a SQLFORM after it renders. I am simply trying to achieve a similar
>>
As Alan said, can you provide a more detailed example?
Super general example though would be in your view named
your_page_name.html you place
{{=the_record_you_wanted}}
And in your default.py controller you would assign it a value for
the_record_you_want by doing
def your_page_name():
ge
Is there a way to SELECT from my (SQLite) db with example structure/data
that looks like this:
sue | dog | cat | dog
joe | cat | rat | dog
joe | dog | dog | rat
joe | cat | cat | cat
tom | rat | dog | dog
a counted, grouped-by set for JOE only that looks like:
cat - 4
dog - 3
rat - 2
I've been
>
> "Ok, the thing is that there are no hooks in rendering cause all the
> rendering is meant to be happen in your own widget." - I disagree. You can
> modify a SQLFORM after it renders. I am simply trying to achieve a similar
> effect at the Field level.
>
"Also, what you're trying to achieve
Ok, the thing is that there are no hooks in rendering cause all the
rendering is meant to be happen in your own widget.
Also, what you're trying to achieve works for input, but not for selects,
list:string, etc etc. i.e. the method is only applicable if you know what
widget is being used beforeh
which version of the SDK are you using? try visiting http://localhost:8000
or http://127.0.0.1:8000 you should then see the GAE SDK admin console,
and hopefully there is a link to cron from there.
also when you deploy you'll see cron jobs and their status in the gae admin
console.
On Wednesd
if you have a large number of users running this once a week might take a
long time...
on app engine, use the app engine cron functionality to schedule a request
once a week. i'd point that to an instance that can run for long time
periods (these were called backends and then in a recent relea
Creating custom widgets is exactly what I'm trying to get around. I have a
bunch of fields that just need a css class added. The default SQLFORM
widgets work perfectly otherwise. So instead of creating a bunch of custom
widgets I can just tweak the default widgets output for ALL fields like
t
-1 on the patch.
I don't really get it. Why do you (and all of us) need yet another
attribute (too many already) of the Field when we have widget= for it ?
Is it really that hard to do
def my_string_widget(field, value):
return INPUT(_name=field.name, _id="%s_%s" % (field._tablename,
field
Thanks Anthony. This is good for a specific use case but my patch would
allow for arbitrary modification of a field's default widget output. I
think this could be generally useful.
On Sunday, August 25, 2013 9:04:20 AM UTC-5, Anthony wrote:
>
> Check out http://dev.s-cubism.com/plugin_notemp
Check out http://dev.s-cubism.com/plugin_notemptymarker.
Anthony
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For
Also, note that in this case, I think you can just do:
Field('myfield', 'integer',
widget=SQLFORM.widgets.string.widget)
Anthony
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emai
I think you have a point - it's a bit of a hassle to disable these validators
without editing web2py.js. Maybe we should add some JavaScript flags that allow
these to be disabled.
Anthony
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
If you are using the source version of web2py, you be need to have Python
installed. If using the Windows binary, replace web2py.py with web2py.exe in
that command.
Anthony
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe
hi all , please any one tell me how to open web2py console shell on my
windows 8 machine , i have windows distribution of web2py & even source
version of web2py , i have tried to start web2py shell from dos prompt by
doing like this in command prompt *python web2py.py -s test -m* (from
web2py d
totally offtopic: that's why decimal was invented for ?!
back in topic:
if you don't need the js validators to kick in in any input because you
want your own widget, strip them off the default code.
if you need some custom widgets to match your own application logic
(meaning "no, this one is not
We could. It helps me to have two copies. I have messed up the git repo a
couple of times.
On Sunday, 25 August 2013 05:01:21 UTC-5, Marin Pranjić wrote:
>
> Web2py has two repositories and many users are not likely to follow/star
> both.
>
> Any plans for dropping hg repo in the future? (just c
I'm well into the development of my commercial website and I find I am
running afoul of the built-in javascript validators in web2py more and more.
If the validators were useless, the decision to just cut them out of the
code and be done with it would be easy and simple. But they do have their
Web2py has two repositories and many users are not likely to follow/star
both.
Any plans for dropping hg repo in the future? (just curious)
Marin (mobile)
On Aug 25, 2013 1:26 AM, "Massimo Di Pierro"
wrote:
web2py has many users but few github followers. This is a problem because
the number of
done, never thought about doing it, but it makes sense.
On Sun, Aug 25, 2013 at 9:37 AM, André Kablu wrote:
> Done. +1
>
> Em sábado, 24 de agosto de 2013 20h26min03s UTC-3, Massimo Di Pierro
> escreveu:
>
>> web2py has many users but few github followers. This is a problem because
>> the numbe
47 matches
Mail list logo