There are two issues:
- decimal would have to be supported but all backends to work properly
- decimal is not supported by Python. If you retrieve a value from the
db it would be converted to float and then you insert it in the db,
you get a different value, unless you use the decimal class to
rep
Please explain to me in some detail what you do. I do this all the
time. There is a vimeo video about it. It is possible it is a bug but
I do not understand what the problem is.
On Nov 13, 12:35 am, guruyaya wrote:
> Yep - I got the latest SVN too.
>
> On Nov 13, 4:13 am, Thadeus Burgess wrote:
The latest web2py stable actually addressed this and it no longer
requires first_name and last_name.
On Nov 12, 11:52 pm, Wiiboy wrote:
> Ah. Ok.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group
web2py has some built-in unintrusiv client side checks. For example
try type letters in a integer field.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2p
I am pretty sure jquery.ui have client slide validators, although I
never used them.
On Nov 12, 11:39 pm, Richard wrote:
> that sounds like an awesome reuse of the existing SQLFORM
> functionality, and would be nice to see live form checks before
> pressing submit.
>
> You do an AJAX call whenev
This is a limitation of the wsgiserver that comes with web2py. In a
production environment if you use apache+mod_wsgi you will not have
this problem.
On Nov 12, 9:45 pm, leo wrote:
> I run into some weirdness when submitting a form that contains a file
> upload field. I am using the auto-genera
yes. need latest web2py stable
from gluon.template import render
print render(content='{{for i in range(10)}}{{=a}}{{pass}}',context=
{'a':'hello\n'})
if you want to use the helpers you also need to import them
from gluon.template import render
from gluon.html import *
print render(content='{{f
Yep - I got the latest SVN too.
On Nov 13, 4:13 am, Thadeus Burgess wrote:
> I am not able to edit plug-ins with web2py admin either, running on latest
> revision SVN 1421
>
> -Thadeus
>
> On Thu, Nov 12, 2009 at 6:03 PM, mdipierro wrote:
>
> > Assuming you have the latest admin. At the bottom
Ah. Ok.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroup
that sounds like an awesome reuse of the existing SQLFORM
functionality, and would be nice to see live form checks before
pressing submit.
You do an AJAX call whenever the text box changes - wouldn't that
produce too many calls?
Richard
On Nov 13, 1:35 pm, Thadeus Burgess wrote:
> It is possi
I run into some weirdness when submitting a form that contains a file
upload field. I am using the auto-generated form in the appadmin page
that inserts new records into a database table with an upload field.
File sizes over a certain limit (not very large, only around 100kb)
make the upload las
He said that you HAVE to have first_name and last_name in your auth table.
His work around still requires you to have these columns in your table...
and just places them with defaulted values of empty strings.
-Thadeus
On Thu, Nov 12, 2009 at 8:20 PM, Wiiboy wrote:
>
> Did I misunderstand M
It is possible to use the web2py validators and javascript (AJAX). Post the
data to the server, and then return an msg that tells details about the
code. This way, a user can look to see if anything is wrong (if javascript
is enabled), and the form will still be validated on post, so you don't lose
Hi,
Can we use just template system of web2py with another application?
Thanks,
Kutlu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.c
I would guess that the problem they might have with this is that this
wouldn't be a Python thing; it would have to be Javascript. However,
Web2py already has a bunch of built-in Javscript, so.
--~--~-~--~~~---~--~~
You received this message because you are subs
Did I misunderstand Massimo above, or did he say you didn't?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this
Hello,
I was wondering if it would be possible/practical for SQLFORM to
support some basic client side checks before submitting to the
server.
SQLFORM has so many features, which I doubt could all be covered
client side, but it would make forms more responsive if atleast a
subset was.
Richard
I am not able to edit plug-ins with web2py admin either, running on latest
revision SVN 1421
-Thadeus
On Thu, Nov 12, 2009 at 6:03 PM, mdipierro wrote:
>
> Assuming you have the latest admin. At the bottom of th design page
> you should be able to click on plugin, see and edit the plugin fil
Auth facilities expect/require first_name and last_name.
-Thadeus
On Thu, Nov 12, 2009 at 7:34 PM, Wiiboy wrote:
>
> Actually, this doesn't work for me at all. I added a first_name
> field, and now I get a KeyError: last_name
>
> ?
> >
>
--~--~-~--~~~---~--~
Actually, this doesn't work for me at all. I added a first_name
field, and now I get a KeyError: last_name
?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to
I think it's more complex because records in the same table are not in
the same entity group by default. You need to also give records the
same parent. However there are downsides to putting many records in
the same entity group. I am getting my head around this at the moment.
http://code.google.
Did you do the same with first_name as well? I'm getting the
following with SVN 1421:
Traceback (most recent call last):
File "/media/apps/web2py/gluon/restricted.py", line 184, in
restricted
exec ccode in environment
File "/media/apps/web2py/applications/main/controllers/default.py",
lin
Found it:
http://groups.google.com/group/web2py/browse_thread/thread/9f513eb37e2e5dd2/debf2c77ad73ce54?lnk=gst&q=first_name#debf2c77ad73ce54
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To pos
Assuming you have the latest admin. At the bottom of th design page
you should be able to click on plugin, see and edit the plugin files.
On Nov 12, 6:01 pm, guruyaya wrote:
> Is it possible to edit a plugin file, after I created it? Clicking on
> the plugin from the app menu, just gives me the
http://www.web2pyslices.com/main/slices/take_slice/30
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group,
Is it possible to edit a plugin file, after I created it? Clicking on
the plugin from the app menu, just gives me the list of the projects
files.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
T
Okay I updated the recipe to use memcache and cron to synchronize
tasks and ensure exactly 1 task is ever active
http://appengine-cookbook.appspot.com/recipe/hot-handler
Robin
On Nov 12, 4:26 pm, Robin B wrote:
> > Robin, do you have any idea how we can make sure, that a new keep-
> > alive ta
> Robin, do you have any idea how we can make sure, that a new keep-
> alive task only gets insertet, if the queue is empty? Unfortunately
> there seems to be no method to query a task queue.
I do not think you can read the queue length.
Tasks will not be removed unless they receive a 200 http
I have no idea. Can you show use the code?
On Nov 12, 1:51 pm, haftish21 wrote:
> mList is my class, to be used the same way as SQLField (to define new
> field d/t from SQLField). It 100% works on python shell, but on the
> model environment it raises the following trace...
>
> Traceback (most r
You are right. It is more subtle than what I said. Still. You can use
them with web2py using run_in_transition and normal web2py API.
On Nov 12, 1:26 pm, Vasile Ermicioi wrote:
> "All datastore operations in a transaction must operate on entities in the
> same entity group. This includes queryin
yes, faker helps too much. thanks for that :)
On Nov 12, 8:39 am, mdipierro wrote:
> I do not know if this should be in web2py or not but it can be useful
> for testing and debugging.
>
> from gluon.contrib.populate import populate
>
> db=DAL()
> db.define_table('person',
> Field
Thank you :)
On Nov 12, 10:34 pm, Wes James wrote:
> brought to you by google:
>
> http://docs.python.org/library/stdtypes.html#typesmapping
>
>
>
> On Thu, Nov 12, 2009 at 1:28 PM, ShoqulKutlu wrote:
>
> > Hi,
>
> > Is the method dict() is a web2py method or python built-in method?
>
> > Than
Thanks :) I was able to connect but I was not able to define table?
When I try to define a table it gives an sql syntax error like below:
ProgrammingError: (1064, "You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version for the right
syntax to use near
brought to you by google:
http://docs.python.org/library/stdtypes.html#typesmapping
On Thu, Nov 12, 2009 at 1:28 PM, ShoqulKutlu wrote:
>
> Hi,
>
> Is the method dict() is a web2py method or python built-in method?
>
> Thanks,
> Kutlu
>
--~--~-~--~~~---~--~~
You
python
On Thu, Nov 12, 2009 at 10:28 PM, ShoqulKutlu wrote:
>
> Hi,
>
> Is the method dict() is a web2py method or python built-in method?
>
> Thanks,
> Kutlu
>
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi,
Is the method dict() is a web2py method or python built-in method?
Thanks,
Kutlu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.co
nice
On Thu, Nov 12, 2009 at 10:18 PM, guruyaya wrote:
>
> So I decided to create a scaleable version of the web2py logo.
> Enjoy it if you want
> http://guruyaya.info/web2py.svg
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
So I decided to create a scaleable version of the web2py logo.
Enjoy it if you want
http://guruyaya.info/web2py.svg
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send ema
mList is my class, to be used the same way as SQLField (to define new
field d/t from SQLField). It 100% works on python shell, but on the
model environment it raises the following trace...
Traceback (most recent call last): File "G:\get2GetHer\itcLessons\oSDI
\proj+enkef\fivePythonWF\allWeb2py\w
If dreamhost gives you a norrmal shell login to your hosting account, then
you should be ok (if all you have is a web manager, then this will not be
useful to you).
Here is what I do - on my local machine, I have something like these bash
aliases defined:
alias dreamtunnel='ssh -L :127.0.0.1:
"All datastore operations in a transaction must operate on entities in the
same entity group. This includes querying for entities by ancestor,
retrieving entities by key, updating entities, and deleting entities."
I understand that transactions are limited only to one table, not on one
record
On T
thank you
On Thu, Nov 12, 2009 at 9:07 PM, mdipierro wrote:
>
> P.S. you can do that with web2py too suing run_in_transaction and your
> function that acts on one record only using normal web2py apis.
>
> On Nov 12, 12:59 pm, mdipierro wrote:
> > only transactions within the same record.
> >
>
P.S. you can do that with web2py too suing run_in_transaction and your
function that acts on one record only using normal web2py apis.
On Nov 12, 12:59 pm, mdipierro wrote:
> only transactions within the same record.
>
> On Nov 12, 12:44 pm, elffikk wrote:
>
> > Hi,
>
> > A while ago I read in
only transactions within the same record.
On Nov 12, 12:44 pm, elffikk wrote:
> Hi,
>
> A while ago I read in web2py manual that gae doesn't support
> transactions
> I found this
> linkhttp://code.google.com/appengine/docs/python/datastore/transactions.html
> Quite confused.. Any one can tell m
Hi,
A while ago I read in web2py manual that gae doesn't support
transactions
I found this link
http://code.google.com/appengine/docs/python/datastore/transactions.html
Quite confused.. Any one can tell me more about?
--~--~-~--~~~---~--~~
You received this messag
The problem with the script is there is still a plethora of configurations
that need to be done manually. These either need to be documented, or link
to my slice on deployment for configuration.
-Thadeus
On Thu, Nov 12, 2009 at 10:23 AM, mr.freeze wrote:
>
> http://www.web2pyslices.com/main/
That is sweet.
Now I'm going to go generate 20k plus records to see how my database scales!
:)
-Thadeus
On Thu, Nov 12, 2009 at 10:08 AM, mr.freeze wrote:
>
> I like it! +1
>
> On Nov 12, 5:13 am, Douglas Soares de Andrade
> wrote:
> > Em Thu, 12 Nov 2009 08:57:32 +0200
> > "Jason (spot) B
Ah, you were able to connect. Ignore that, then :)
On Nov 12, 11:59 am, Dmitri Zagidulin wrote:
> Did you set the root mysql password? Try setting it, and including the
> password in the connect string.
>
> Did it give you any error messages?
>
> On Nov 11, 5:53 pm, ShoqulKutlu wrote:
>
> > Hi,
Did you set the root mysql password? Try setting it, and including the
password in the connect string.
Did it give you any error messages?
On Nov 11, 5:53 pm, ShoqulKutlu wrote:
> Hi,
>
> I installed web2py Version 1.72.3 on Windows. When I started the
> web2py server it found the MySql driver.
http://www.web2pyslices.com/main/slices/take_slice/29
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group,
I like it! +1
On Nov 12, 5:13 am, Douglas Soares de Andrade
wrote:
> Em Thu, 12 Nov 2009 08:57:32 +0200
> "Jason (spot) Brower" escreveu:
>
>
>
>
>
> > AWSOME This would come in very handy in teaching and testing!
>
> > On Thu, Nov 12, 2009 at 8:39 AM, mdipierro
> > wrote:
>
> > > I do not kn
I can help translating to spanish
On Nov 12, 9:28 am, mdipierro wrote:
> Good.
> First,
> somebody has to scan markup all strings and add
> db.table.field.label=T(...)
> and
> VALIDATOR(...,error_message=T(...))
>
> Massimo
>
> On Nov 12, 5:19 am, yamandu wrote:
>
> > Massimo, are you rea
On Wed, Nov 11, 2009 at 06:26, mdipierro wrote:
>
> CRM = Customer Relationship Management
>
> https://launchpad.net/web2py-crm
>
> It is a simplified clone of "highrise" by 37signals.
> Manages companies, people, tasks, logs, files and almost everything is
> taggable
> Includes a stand alone por
On Nov 12, 12:10 pm, DenesL wrote:
> ideal IS_DEC_IN_RANGE validator should also be based on DB back-end,
> definite values are easier but would limit values for otherwise
> limitless POSTGRESQL values.
As this feature has already taken a long time to specify, my vote
would be to simplify it as
> Extend the Auth class in your own module.
> This means that you redefine the elements you wish to change.
> I use AuthS3() for my app & hence instantiate as: auth=AuthS3()
I did make my own, but I got a KeyError:"no field named first_name" or
something like that.
--~--~-~--~~---
Good.
First,
somebody has to scan markup all strings and add
db.table.field.label=T(...)
and
VALIDATOR(...,error_message=T(...))
Massimo
On Nov 12, 5:19 am, yamandu wrote:
> Massimo, are you reading my mind?
> I can work on the brazilian portuguese version!
>
> On Nov 11, 7:30 pm, mdipie
On Nov 12, 7:34 am, Douglas Soares de Andrade
wrote:
>
> > SQLite : no
>
> What about sqlite ? It would be a Float in sqlite ?
No, it would have to be natively supported in the DB.
Otherwise the conversion problems that we are trying to avoid would
still occur.
--~--~-~--~~
Ah, cool! I came across lxml before, and lost track of what it was
called, so I tried to find it again yesterday, to no avail.
Thanks for finding it!
On Nov 11, 10:07 pm, David wrote:
> That definitely turned me on to lxml as well. I've been running with
> BeautifulSoup but sometimes it chokes
Thanks,
the problem was after the installation of python-mysql,
i don't know why, but when i logout of shell the connection works.
greetings!
pepe.
On Nov 11, 2:49 pm, Thadeus Burgess wrote:
> YOu need to install the python mysql drivers.
>
> apt-get install python-mysql
>
> -Thadeus
>
>
>
>
thanks, but I'm finally using a self-signed certificate...
On Nov 11, 2:49 pm, Thadeus Burgess wrote:
> http://www.google.com/search?q=ssh+port+forwarding&ie=utf-8&oe=utf-8&;...
>
> -Thadeus
>
>
>
> On Wed, Nov 11, 2009 at 12:03 AM, Pepe wrote:
>
> > Hi!
>
> > I need to manage the application
Em Thu, 12 Nov 2009 04:10:46 -0800 (PST)
DenesL escreveu:
> Thinking about adding a decimal type to web2py.
>
> Syntax:
> Field('x','decimal',length=10,digits=2)
>
> defaults should be based on DB back-end or just 10,2 for example
> (easier)?
>
> ideal IS_DEC_IN_RANGE validator should also be
Thinking about adding a decimal type to web2py.
Syntax:
Field('x','decimal',length=10,digits=2)
defaults should be based on DB back-end or just 10,2 for example
(easier)?
ideal IS_DEC_IN_RANGE validator should also be based on DB back-end,
definite values are easier but would limit values for o
Massimo, are you reading my mind?
I can work on the brazilian portuguese version!
On Nov 11, 7:30 pm, mdipierro wrote:
> I would take some help in adding internationalization and improving/
> testing the fullcalendar capabilities. Also need to add search by
> tag.
>
> On Nov 11, 3:23 pm, mdipier
Em Thu, 12 Nov 2009 08:57:32 +0200
"Jason (spot) Brower" escreveu:
>
> AWSOME This would come in very handy in teaching and testing!
>
> On Thu, Nov 12, 2009 at 8:39 AM, mdipierro
> wrote:
> >
> > I do not know if this should be in web2py or not but it can be
> > useful for testing and debug
Here is a possibility to make DAL a bit more transparent for those who
use Oracle:
when we use statements like:
db(db.tablename.fieldname.belongs(the_list)).update(x=y)
Oracle (unlike its open-source counterparts) fires an error coded
ORA-01795 if length of 'the_list' exceeds 1000. There is no w
On Nov 12, 4:34 am, Wiiboy wrote:
> Is there a way to not use first_name and last_name in an auth_table?
> I made an extension auth_table, but don't have a use for first and
> last_names.
Extend the Auth class in your own module.
This means that you redefine the elements you wish to change.
I us
66 matches
Mail list logo