Does MARKMIN create something like
ul
li
abc
/li
li
def
ul
li12/li
li34/li
/ul
/li
/ul
Regards, Martin
+1 to that.
I have 1.97.1 and it has the problem with request.vars in
LOAD(ajax=False)
Then I install d4c2d8d15bb1 rev. from trunk.
checking request.vars in LOAD(ajax=False) doesn't rises an error
anymore, but there was no vars in all LOAD(ajax=False) functions. So,
I think, current request
For some kind of reason google project delete all the info in the wiki, all
about this was in the wiki. But take a look to views/styles/default is the
default style, you have folder view/ (when you are watching a post), index/
(main index page) ...
Inside of this folder you have footer.html,
It is possible to call from inside WEB2PY a 'short user function' based on
time tick periodically (like any 0.05 ... 5 seconds) ?
This functionality can be very usefull to collect data from the field (for
example from equipments on the Ethernet LAN or on the Internet or simply
attached to the
You should run a background process that does it
white True:
sleep(5)
On Jul 4, 7:47 am, Valter Foresto valter.fore...@gmail.com wrote:
It is possible to call from inside WEB2PY a 'short user function' based on
time tick periodically (like any 0.05 ... 5 seconds) ?
This
I searched the WEB2PY group before and I already tryed this method that you
suggested on a previous thread.
I used:
web2py -a yourpassword -i 127.0.0.1 -p 8000 -S yourapp -M -R
applications/yourapp/private/yourscript.py
with applications/yourapp/private/yourscript.py that do:
The section 'Background Processes and Task
Queueshttp://www.web2py.com/book/default/chapter/04?search=background+process#Background-Processes-and-Task-Queues'
in the Core chapter of the Book report exacly what you mean and suggest.
I'm trying ... thanks Massimo.
On Jul 3, 2011, at 10:44 PM, Massimo Di Pierro wrote:
I am giving two talks in California next week (July 7 at LBL) and the week
after (July 13 at Python Users Group).
Let me know if some of you will be there. I can send more details as they
tell me.
Please do. Where is the PUG meeting?
I follow the section 'Background Processes and Task
Queueshttp://www.web2py.com/book/default/chapter/04?search=background+process#Background-Processes-and-Task-Queues'
in the Core chapter of the Book, and launch using:
python web2py.py -a commsec -i 127.0.0.1 -p 8000 -S ALTECH -M -N -R
You need two start web2py twice
The backgroud process:
python web2py.py -S ALTECH -M -N -R applications/ALTECH/private/
my_loop.py
Normal we2py:
python web2py.py -a commsec -i 127.0.0.1 -p 8000
You want to be two separate processes so they do not interfere with
each other.
On Jul 4, 9:07 am,
It is somewhere in San Francisco. I only have 20minutes and I am told
to expect a tough crowd (mostly Django people). I will be driving to
SF from Lake Tahoe just for that. What should I cover?
Massimo
On Jul 4, 9:03 am, Jonathan Lundell jlund...@pobox.com wrote:
On Jul 3, 2011, at 10:44 PM,
I just made some changes in trunk. Can you give it a try?
On Jul 4, 3:45 am, LightOfMooN vladsale...@yandex.ru wrote:
+1 to that.
I have 1.97.1 and it has the problem with request.vars in
LOAD(ajax=False)
Then I install d4c2d8d15bb1 rev. from trunk.
checking request.vars in LOAD(ajax=False)
Can dal guess field type even if not explicit?
I.e. if I have a Field like Field('myString') but a script ends up
inserting something that looks like a list, how can I have a default
check?
something like:
woops, sorry
so something like:
if isinstance(Field,list): blala
elif isinstance(Field,str): blala
else:blabla
thanks,
Mart :)
On Jul 4, 11:15 am, mart msenecal...@gmail.com wrote:
Can dal guess field type even if not explicit?
I.e. if I have a Field like Field('myString') but a script
I think you need inheritance :
http://web2py.com/book/default/chapter/06#Table-Inheritance
Richard
On Sun, Jul 3, 2011 at 1:15 AM, Luis Goncalves lgoncal...@gmail.com wrote:
Hello!
How do I make a database table where the fields are defined by another
table?
For example, suppose some
f = Field('myString')
print f.type
if isinstance(f.type,str) and f.type=='string': ..
if isinstance(f.type,str) and f.type=='text': ..
if isinstance(f.type,str) and f.type=='upload': ..
if isinstance(f.type,str) and f.type=='blob': ..
..
if not isinstance(f.type,str): # custom field probably
That works for me but my usage is pretty simple...just one arg, an int.
ah ha! thank you very much! :)
On Jul 4, 11:46 am, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
f = Field('myString')
print f.type
if isinstance(f.type,str) and f.type=='string': ..
if isinstance(f.type,str) and f.type=='text': ..
if isinstance(f.type,str) and f.type=='upload':
I should be able to make it but I can't find any info about the meeting.
What user group is it?
I just changed all references to the 'flash' class in those files and
base.css to 'web2py_flash' to make it unique. Wasn't sure if you
wanted a patch since the change was so small.
On Jul 3, 9:12 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Notice that flash is only used in
No more copy error, but also no vars of current request passing to
LOAD(ajax=False) =\
On 4 июл, 20:14, Massimo Di Pierro massimo.dipie...@gmail.com wrote:
I just made some changes in trunk. Can you give it a try?
On Jul 4, 3:45 am, LightOfMooN vladsale...@yandex.ru wrote:
+1 to that.
Many thanks Massimo,
now I understand and positively checked your suggestion.
All works fine and I can confirm that :
*WEB2PY can be used to do acquisition, processing, storage and
presentation of field data over the web and the Internet *
*WEB2PY is a great Python based Web Framework
Hello,
I recently released version 1.5 of SISVENTI, adding a web-based interface
web2py.
SISVENTI is a sales and warehouse operation very simple but very powerful
and extensible with hybrid interface with web2py (web) and curses (text).
You can review the project which was launched in 2001 and
Hi,
Because SISVENTI, i have made some minor changes to the autocomplete widget
adding filtering, is possible add to the main branch?
https://bitbucket.org/alfonsodg/sisventi/
Thanks,
Saludos,
Alfonso de la Guarda
Centro Open Source(COS)
http://www.cos-la.net
go ahead and use celery.
On Jul 4, 3:47 pm, Valter Foresto valter.fore...@gmail.com wrote:
It is possible to call from inside WEB2PY a 'short user function' based on
time tick periodically (like any 0.05 ... 5 seconds) ?
This functionality can be very usefull to collect data from the field
2011/6/26 Massimo Di Pierro massimo.dipie...@gmail.com
I found the problem
http://groups.google.com/group/web2py/msg/aaa803e14404fc62
This is not a problem with web2py.
@ Pierre, I did found a non-related problem with web2py.
models/meteo.py uses custom_import to import modules/meteo.py.
2011/7/4 Massimo Di Pierro massimo.dipie...@gmail.com
yes. Not sure what the error should be
I created a ticket. Can you assign it to me? I think this is low priority. I
take a look later.
http://code.google.com/p/web2py/issues/detail?id=325
A+
-
Pierre
My blog and profile
On Mon, Jul 4, 2011 at 7:13 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
It is somewhere in San Francisco. I only have 20minutes and I am told
to expect a tough crowd (mostly Django people). I will be driving to
SF from Lake Tahoe just for that. What should I cover?
I should be
Thanks. WIll send more info when I know.
On Jul 4, 2:31 pm, Nick Arnett nick.arn...@gmail.com wrote:
On Mon, Jul 4, 2011 at 7:13 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
It is somewhere in San Francisco. I only have 20minutes and I am told
to expect a tough crowd (mostly
2011/7/4 Massimo Di Pierro massimo.dipie...@gmail.com
I do not see an option to assign a ticket. You should be able to write,
comment and close it anyway.
Massimo
I can only comment. I cannot change the status or the priority. I don't why.
I have these options for my own Google projects
email me when you want to change the status and I will. Not bit trouble.
On Jul 4, 2011, at 2:50 PM, Pierre Thibault wrote:
2011/7/4 Massimo Di Pierro massimo.dipie...@gmail.com
I do not see an option to assign a ticket. You should be able to write,
comment and close it anyway.
Massimo
Hello,
Is Web2py suppose to follow SQL standard on trailling space for string type
field on crud.update??
If I update a record containing field with string type, I got trailling
space restored from the database in my field form... On submit it cause
problem since I transform to int() for
I made little app to test it:
http://ifolder.ru/24534498
there should be test string, if to click on test button
On 4 июл, 22:19, LightOfMooN vladsale...@yandex.ru wrote:
No more copy error, but also no vars of current request passing to
LOAD(ajax=False) =\
On 4 июл, 20:14, Massimo Di Pierro
Is Celery compatible or easy to use with web2py?
On Jul 4, 6:35 pm, Mengu whalb...@gmail.com wrote:
go ahead and use celery.
On Jul 4, 3:47 pm, Valter Foresto valter.fore...@gmail.com wrote:
It is possible to call from inside WEB2PY a 'short user function' based on
time tick
Previously, there was a bug in LOAD -- it takes an argument called 'vars',
which it passes to the component as request.vars. However, the 'vars'
argument was getting ignored, and instead, the request.vars of the parent
page was getting passed to the component. That has been fixed, but now you
On Monday, July 4, 2011 5:51:04 PM UTC-4, Anthony wrote:
The same goes for request.args -- if you want the args for the component to
be the same as those for the parent page, you have to add args=request.args
to the LOAD call.
I should point out, this has always been the behavior for
Hello!
It seems to me that the behavior of checkboxes is different and non-standard
from the rest of input types, causing one to handle it as a special case
(when trying to automate input field processing).
In my application, an admin can create profile forms through a friendly
interface.
Hello Richard!
I looked at this, but wasn't sure how it could help -- what I need is a way
for a (non-technical) admin to create profile forms with arbitrary fields
(through a friendly web interface), and then users to be able to view and
edit their (run-time reconfigurable) profiles.
At any
Maybe you could find some inspiration from this project for Django :
http://code.google.com/p/django-dynamic-formset/
You need to install Django to test it...
What you seems to do is adding an arbitrary number of input for a given
field...
Following good database design pratice you will
Thanks for the links!!
Django dynamic formsets seems powerful! When I first started off, I
investigated using django, but found it very difficult. Web2py is so much
easier to use (especially with the clear manual, and one click install
with working apps ('Welcome'))!!!
Maybe I'll end up
Hello!
The website I am developing will be invitation only:
- a user gets an email invitation to register with a link to the site (with
an identifying token in the link)
- the link takes the user to the website, where he can register
- to register, he need only define the password, since the
It surely a missing feature...
Richard
On Mon, Jul 4, 2011 at 8:30 PM, Luis Goncalves l...@vision.caltech.eduwrote:
Thanks for the links!!
Django dynamic formsets seems powerful! When I first started off, I
investigated using django, but found it very difficult. Web2py is so much
easier
This section of the book could help :
http://www.web2py.com/book/default/chapter/08?search=setting#Settings-and-Messages
Richard
On Mon, Jul 4, 2011 at 8:37 PM, Luis Goncalves lgoncal...@gmail.com wrote:
Hello!
The website I am developing will be invitation only:
- a user gets an email
You can easily do this. Just think its the reset password function with a
twist.
On Jul 4, 2011 8:38 PM, Luis Goncalves lgoncal...@gmail.com wrote:
Hello!
The website I am developing will be invitation only:
- a user gets an email invitation to register with a link to the site
(with
an
Check this recent thread:
https://groups.google.com/d/topic/web2py/QZ11R6eYQdM/discussion
The web2py app wizard has a Dynamic model creator, may be you can take a
look in to the wizard code. And fork as a plugin.
On Mon, Jul 4, 2011 at 9:38 PM, Richard Vézina
ml.richard.vez...@gmail.comwrote:
It surely a missing feature...
Richard
On Mon, Jul 4, 2011 at 8:30 PM, Luis Goncalves
Thanks, pbreit, for the link! Long thread!!!
I read it all, but am still unclear how to force registration with a
pre-defined name and email
(I'll have DB entries such that each unique invite token is associated with
a pre-defined name and email).
I was hoping to do something like this:
def
That's a great idea, David!
I think I need to know, then:
- how to programmatically create registered users
- how to programmatically send them the 'reset password' link.
Ideally, the person that can invite users will have a simple webpage form
where they can input names and email addresses,
Thank you! Now it works fine.
On 5 июл, 03:53, Anthony abasta...@gmail.com wrote:
On Monday, July 4, 2011 5:51:04 PM UTC-4, Anthony wrote:
The same goes for request.args -- if you want the args for the component to
be the same as those for the parent page, you have to add args=request.args
Hi,
I think I have made web2py working on my hosting account, see:
http://junaidpv.in/w2p/welcome
But web2py is assuming it is working on document root, actually I installed
it on /w2p sub directory.
web2py presents every anchors and files (.js, images, etc) in page based to
document root
50 matches
Mail list logo