Hi Martin,
in my billing/customer/product application I have a simple ticket
system. It would be easy to use only the ticket part if needed. I´m
going to put up an english version of the application during the
weekend. Then you can look at it.
Kenneth
Hi,
does somebody knows a plugin for
Thanks for this Bruno. I was able to use your code/hint to craft my
own specialized validator. lol
Noel
On Sep 9, 3:06 pm, Bruno Rocha wrote:
> class IS_LIST(object):
> def __call__(self, value):
> mylist = value.split(",")
> for item in mylist:
> v
Massimo,
Thanks for your reply, now I know why I saved the file and referenced
it memory usage: I commented out import gluon.import_all which in
newer web2py versions is commented out by default?
Which leads to another question: At webfaction the Web2py installation
that I have is running behind
It works, thanks :)
Next step is to upgrade the HTML code because this just looks like text.
regards, Richard
Op 8-9-2011 23:30, Anthony schreef:
No, you need to add return dict() to the end of you index() function
in your controller -- not to the view file.
Anthony
On Thursday, September 8
Hi,
does somebody knows a plugin for a support ticket system?
Desired function: something like
1. the user fills a form or sends an email,
2. web2py creates and sends a ticket to the admin of the webpage
3. the admin answers
4. the user can answer again or the ticket will be closed after s
Hello,
I am having some difficulty to access admin interface from localhost
when my web2py application is deployed with Apache server on Windows.
Although I can check whether the app is working on my local
workstation, but I would like to check app status and see whether
values in database are cor
Congratulations to All. :) What an Excellent Framework This is!
Cheers Rahul.
On Sep 8, 8:47 pm, Massimo Di Pierro
wrote:
> And congratulations again to all users and contributors!
>
> On Sep 8, 2:01 am, Mike Veltman wrote:
>
>
>
>
>
>
>
> > I dont know if someone else already mentioned it. But
Any information is very helpful for me if there is any IIS users who
successfully running web2py with this receipt 2 (ISAPI+WSGI).
On Sep 8, 11:43 am, Omi Chiba wrote:
> Remco,
>
> I'm another guy struggling with IIS.
> Following the Receipt 2 for ISAPI and I'm lost at 2.3.2. If possible,
> can y
Hello,
It looks like:
dict = {'email':''u...@email.com', 'name':'dude', 'accesskey': [some
hash string]}
I tried insertion with other table and other dict and it worked. So I
figured that, as you properly guessed, it must be the problem relating
the dict that I am trying to insert.
But what puz
Thank you! I am going to use your source code to prepare my talk for PyCon
Brasil next month.
On Thu, Sep 8, 2011 at 11:35 PM, chinakr wrote:
> web2py is one of the most popular Web Frameworks. web2py has MVC
> architecture, offering us excellent development efficiency and
> extensibility. web
Extend your ORM thinking a little - have one controller for each
object table in your application.
I do not ordinarily create controllers for many-to-many linking
tables.
On Sep 8, 2:22 pm, Luca wrote:
> I am new to web2py (I've been using Django), and I am confused about a
> couple of things.
>
class IS_LIST(object):
def __call__(self, value):
mylist = value.split(",")
for item in mylist:
val, error = IS_INT_IN_RANGE(0,10)(item)
if error:
return (val, error)
return (mylist, None)
On Thu, Sep 8,
That worked! Thanks Bruno.
I wonder now if I can do further validation to ensure that all items
are integers and in a specific range. In particular, I wanted to use
the already available validator IS_INT_IN_RANGE. Something like:
IS_LIST(IS_INT_IN_RANGE(0, 10))
It is hacking time.
:)
On Se
web2py is one of the most popular Web Frameworks. web2py has MVC
architecture, offering us excellent development efficiency and
extensibility. web2py is very suitable for Web application
development.
deck.js is a JavaScript library for making HTML5 presentation. It
supports keyboard navigation, th
May be there is a better way, but I should start with this:
class IS_LIST(object):
def __call__(self, value):
mylist = value.split(",")
return (mylist, None)
Field("fld", "list:integer", widget=SQLFORM.widgets.string.widget,
requires=IS_LIST() )
--
Bruno Rocha
[ Abo
Also, if you do not want some object to be always available, you can use
conditional models. creating subfolders in /models matching
controller/action names.
I checked trunk and still getting the issue. Ticket 414 opened.
http://code.google.com/p/web2py/issues/detail?id=414
Thanks
On Sep 7, 10:53 pm, Massimo Di Pierro
wrote:
> I think it is a bug. Please check this is not already fixed in trunk,
> if not please open a ticket. thanks for the work of
Can you give an example?
On Thursday, September 8, 2011 5:55:22 PM UTC-4, DenesL wrote:
>
>
> Components with buttons that are meant for client side scripting are
> being reloaded via ajax post request (I think), shouldn't this
> behavior be limited to the submit button?.
>
>
>
You might also find this of interest (particularly the first section about
exec): http://web2py.com/AlterEgo/default/show/271
Anthony
On Thursday, September 8, 2011 9:28:45 PM UTC-4, Anthony wrote:
>
> Yes, in this regard web2py is not quite like most other Python web
> frameworks. All of your
I wanted the data entry of a list type field as a plain text box with
comma separated data values. Thus, in my model,I defined the field as:
Field('fld', 'list:integer', widget=SQLFORM.widgets.string.widget)
Using a crud.create form, what extra steps should I do to be able to
save a value such as
Yes, in this regard web2py is not quite like most other Python web
frameworks. All of your model files are executed in a prepared environment
that includes various framework objects, such as request, response, session,
and many of the API objects. Your controller is then executed in that
enviro
First time I see it. I downloaded but does not run, shows a page that
only lets me select the languages. Before I look at the source code...
can you make it work?
On Sep 8, 5:11 pm, António Ramos wrote:
> What? cant believe it
>
> see thishttp://code.google.com/p/web2pyadmin2/
>
> 2011/9/8 Massim
can you send me a patch (until a get one for a better calendar ;-)
On Sep 8, 4:31 pm, Richard Vézina wrote:
> Ok, putting much more then the basic z-index init of dialog works find at
> least...
>
> I don't see when you want a datepicker to be behind an other element?!
>
> Richard
>
> On Thu, Sep
Have you read through this
chapter: http://web2py.com/book/default/chapter/07
In particular:
http://web2py.com/book/default/chapter/07#SQLFORM.factory
http://web2py.com/book/default/chapter/07#Custom-forms
http://web2py.com/book/default/chapter/07#SQLFORM-in-HTML
There's also http://www.web2pysl
Thank you, this is very helpful indeed.
Luca
I understand, but this is very un-python like and weird... you mean that if
I have
a = 1
in a file, and then load another file, then a is still 1 also in the other
file? This is incredibly weird to me -- normally, files have to import each
other to share variables in this way.
Ok... now I
I am new to web2py, as I mentioned in another post, and I am wondering where
to find in-depth documentation.
Let me give you an example. I wanted to do a form that does not correspond
to a db table, and that has several input fields. I also wanted to render
it in a table.
In the English web
I think you're getting the standard multiselect box, and I'm not aware of
any problem with this.
Anthony
On Thursday, September 8, 2011 8:11:01 PM UTC-4, monotasker wrote:
>
> I think I'm up to date: v. 1.98.2
>
> I'm a little confused now. Anthony was saying that the behaviour I
> described w
Have you tried
auth.settings.allow_basic_login = True
See
http://web2py.com/book/default/chapter/08#Access-Control-and-Basic-Authentication.
Anthony
On Thursday, September 8, 2011 7:48:04 PM UTC-4, Matt wrote:
>
> Hi there,
>
> I have a very quick question about basic authentication.
>
> Doe
Hi,
I am trying to catch "invalid request" after requesting non-existing
file from static folder of application "eshop". My routest.py:
routes_onerror = [
#('eshop/400', '/eshop/default/HTTP_404'),
('*/*', '/eshop/default/HTTP_error')
]
routes_app = (
(r'.*http://meganaby
I think I'm up to date: v. 1.98.2
I'm a little confused now. Anthony was saying that the behaviour I
described was intentional. Has there been a discussion about changing
it?
Ian
On Sep 8, 5:17 pm, Richard Vézina wrote:
> Wich version of web2py version do you use... The problem you describe hab
Hi there,
I have a very quick question about basic authentication.
Does web2py support this approach?
https://username:passw...@www.website.com/index
Matt
Yeah, that was dropped. It was initiated by the guy who did the redesign of
the current admin app, but he moved on.
Anthony
On Thursday, September 8, 2011 6:11:47 PM UTC-4, Ramos wrote:
>
> What? cant believe it
>
> see this
> http://code.google.com/p/web2pyadmin2/
>
>
>
> 2011/9/8 Massimo Di P
Your work-around works well Anthony. Thanks.
What I intend of doing is querying just a subset of a list:string
field (e.g. mytblalias.data[0:6] which in select would appear as:
SUBSTR(mytblalias.data,1,(7 - 1))
The field results, however, turned out to be raw with the '|' showing
as separators i
And settings.migrate is set to 'True'.
On Sep 8, 1:45 pm, Richard Vézina wrote:
> Drop the table... and recreate it... Use pgAdmin or erase your db model
> reload your app... paste your model reload...
>
> Don't need fake migrate just migrate true...
>
> Richard
>
>
>
>
>
>
>
> On Thu, Sep 8, 201
maybe be-unik
2011/9/8 pbreit
> Looks nice. "beunick" is a bit of a strange name. The first thing I think
> of is "eunuch" which is not the most pleasant thought.
Freak, what hosting options do you have? Do you already have a hosting
provider? Which one? What service level do you have? Do you know what your
provider's Python hosting capabilities are?
Thanks for your reply, Richard. I dropped the table, and when I went
to reload and got this traceback (same one I got before I dropped the
table). db_wizard.py is where the table is defined.
Traceback (most recent call last):
File "/home/www-data/web2py/gluon/restricted.py", line 192, in
restr
What? cant believe it
see this
http://code.google.com/p/web2pyadmin2/
2011/9/8 Massimo Di Pierro
> Never heard of it before.
>
> On Sep 8, 11:01 am, António Ramos wrote:
> > does the web2py-adm...@googlegroups.com still exists?
> >
> > What do they have about the new admin they talked about
Looks nice. "beunick" is a bit of a strange name. The first thing I think of
is "eunuch" which is not the most pleasant thought.
After some thought, I'm really liking this design for virtual
fields... what if lazy/virtual fields were declared directly in
db.define_table()? Like so:
db.define_table('item',
Field('unit_price','double'),
Field('quantity','integer'),
VirtualField
It should be fine using your other database access library. I think you'll
probably want to import the libraries from each controller file. And won't
need to put any of that stuff in model files.
I think reading chapters 00-07 in the Book are a good start (08 if you are
using registration/login
Having multiple controller files gives you the ability to organize your code
and URLs and it works nicely. To hide the app name and/or controller name,
look at the router.example.py file.
All the code in all the files in the "models" directory is executed on each
page request so you can put you
On Thursday, September 8, 2011 12:52:42 PM UTC-4, Vineet wrote:
>
> I have posted the code in 'View' file at
>
> http://stackoverflow.com/questions/7343374/web2py-view-height-size-of-a-select-box-in
>
> So avoiding the reposting of code here.
>
I left a comment on SO -- still can't replicate
Components with buttons that are meant for client side scripting are
being reloaded via ajax post request (I think), shouldn't this
behavior be limited to the submit button?.
haha
I wasn't understand why he was putting that there and I didn't realise it
was a mistake ;-)
Richard
On Thu, Sep 8, 2011 at 5:30 PM, Anthony wrote:
> No, you need to add return dict() to the end of you index() function in
> your controller -- not to the view file.
>
> Anthony
>
>
> On Thur
Ok, putting much more then the basic z-index init of dialog works find at
least...
I don't see when you want a datepicker to be behind an other element?!
Richard
On Thu, Sep 8, 2011 at 5:27 PM, Richard Vézina
wrote:
> God... The fix seems to work only for the first trigger of the popup...
>
> R
No, you need to add return dict() to the end of you index() function in your
controller -- not to the view file.
Anthony
On Thursday, September 8, 2011 4:45:51 PM UTC-4, Richard wrote:
>
> The view is not executed. Adding return dict() doesn't have effect. Even
> this dict() does not lead
God... The fix seems to work only for the first trigger of the popup...
Richard
On Thu, Sep 8, 2011 at 5:25 PM, Richard Vézina
wrote:
> It seems that you can initialise dialog with a given zIndex
>
> And the default zIndex that I have in the js is zIndex: 1000
>
> I just read the js and it seems
It seems that you can initialise dialog with a given zIndex
And the default zIndex that I have in the js is zIndex: 1000
I just read the js and it seems to change between 1000 and 1001... I try
with 1002 in the .calendar css class of "web2py datepicker" and it works
find.
Don't know maybe adding
Wich version of web2py version do you use... The problem you describe hab
been a issue in the past that have been fixed now...
Maybe you have a old version of web2py?
Richard
On Thu, Sep 8, 2011 at 4:16 PM, monotasker wrote:
> Thanks for the links. I'm still trying to figure out how much to lo
.calendar{
z-index: 1000;
position: relative;
display: none;
border-right: 1px solid #808080;
border-left: 1px solid #808080;
border-bottom: 1px solid #808080;
font-size: 11px;
color: #9A9A9A;
cursor: default;
background: #fafaed;
font-family: Ari
I have the same problem is you find a solution...
I will try with z-index, but I am not sure if it will work, should pick one
upper the dialog plugin use if it's the source of the problem.
Richard
On Thu, Sep 8, 2011 at 4:34 PM, Paul Gerrard wrote:
> Hi,
>
> I used this css as is (although I di
The view need a controller to return a dict variable at least one to be
executed I think...
So maybe your controller has noting to do so you just have created a view
with the code that you want to be executed (the code that you showed us)...
Try returning a empty var from your controller if you h
The view is not executed. Adding return dict() doesn't have effect. Even
this dict() does not lead to an error.
{{extend 'layout.html'}}
{{if 'message' in globals():}}
Outfile from Matplotlib
return dict()
Op 8-9-2011 22:24, Anthony schreef:
Have you shown us your entire index()
Hi,
I used this css as is (although I did change the background colour to
match my site. however... I'm using the dat picker on a field
displayed in a jquerydialog. the datepicket pops up - behind the
dialog box. I think the z-indexvalue needs bumping up (or is it
down?)
Looks good tho :O)
On Se
Richard,
To be sure about the comment I made the following view, which had the
same None result
{{extend 'layout.html'}}
Outfile from Matplotlib
regards,
Richard
Op 8-9-2011 22:11, Richard Vézina schreef:
Not sure but I think there is a mistake in your view that should be ok
without
Have you shown us your entire index() function? If so, your view file isn't
getting called at all because your index function is not returning a
dictionary. Instead, web2py is simply returning whatever your function
returns, which is probably None if the last line is a call to plt.savefig().
Ad
You can select db.mytbl.id*2, but I don't think you can reference the result
with an alias -- you'd have to reference it with something like
rows[0]['(mytbl.id
* 2)']. Of course, for convenience, you could define fld2='(mytbl.id * 2)' and
then do rows[0][fld2].
What do you want to do with the
Thanks for the links. I'm still trying to figure out how much to look
for the framework to do and how much to look for client-side
solutions. This helps.
Ian
On Sep 7, 5:48 pm, Anthony wrote:
> Since developers will have different preferences for multiselect widgets and
> it is so easy to plug s
Not sure but I think there is a mistake in your view that should be ok
without it
The # not work to comment a line in the view so try remove your line
completly or you may try with html commenting caracter... But those
don't prevent web2py to interpret the {{=}}, so what I usually do si to
remove
The mp1.png file is in the static directory of my application
The following views/default/index only gives an empty page with
"None" in the top left corner.
{{left_sidebar_enabled=right_sidebar_enabled=False}}
{{extend 'layout.html'}}
{{if 'message' in globals():}}
{{=message}}
#Events
*Great framework mean great peoples with great ideas, great technical
knowlwdge and passion !*
Thank to Massimo, to Web2Py developers and all web2py-users group supports
and users peoples.
- Valter
congratulations everyone and thank you Massimo for creating, leading and
keeping the Web2py project so awesome. This is well deserved recognition for
a project that rocks in so very many ways.
+1
On Sep 8, 5:59 am, wwwgong wrote:
> Congratulations!
>
> more details from
> here:http://www.infoworld.com/d/open-source-software/bossie-awards-2011-th...
> I am new to web2py (I've been using Django), and I am confused about
a couple of things.
Welcome to web2py.
> First, the presence of multiple controllers.
Every time a function in the controller is called the whole file is
compiled. By having smaller controller you get an faster application
Luca,
multiple controllers allow you to break your code into logical chunks, so
big projects are more manageable. there are a few different options for URL
routing to make the URLs your user sees something different from the
underlying structure. Take a look in the web2py book for info on the
Hello everyone,
1)
I know web2py provides the DAL, however I have already Python code
(let's call it "third party") that connects to a MySql database, has
some classes that hold the data, and returns objects that contain data
that I need to display in the website and not just display but of
course
Beunick App sitting on top of Web2py has a new version.
Thanks to Massimo for this great Web2py Tool.
Check it out on: http://www.beunick.com
Drop us some feedback if you can.
Cheers,
Yannick P.
I'm Happy Congrat!
On Sep 7, 10:59 pm, wwwgong wrote:
> Congratulations!
>
> more details from
> here:http://www.infoworld.com/d/open-source-software/bossie-awards-2011-th...
Never heard of it before.
On Sep 8, 11:01 am, António Ramos wrote:
> does the web2py-adm...@googlegroups.com still exists?
>
> What do they have about the new admin they talked about months ago?
>
> 2011/9/8 Massimo Di Pierro
>
>
>
>
>
>
>
> > This is a problem indeed.
>
> > Anyway, I think it w
Wow .This is very big!
Congrats Massimo and all the web2py developers!
On Thu, Sep 8, 2011 at 8:45 PM, Ivica Kralj wrote:
> Congratulation!!
> This is something members of this group knew already anyway :) Although,
> it's great to have recognition on black and white... or in html, for
> everyb
This is web2py.py (starts web2py) except you have an extra line
On Sep 8, 11:43 am, annet wrote:
> I came a cross this file and wonder what it does.
>
> #!/usr/bin/env python
> # -*- coding: utf-8 -*-
>
> import os
> import sys
>
> try:
> path = os.path.dirname(os.path.abspath(__file__))
> ex
I am new to web2py (I've been using Django), and I am confused about a
couple of things.
First, the presence of multiple controllers.
I am trying to build a main app, called (say) www.example.com.
So I would like to have something like www.example.com/index.html
But if I use the default.py con
+1
For myself I made a kind of gate login page like ubuntu... So as long as you
are not loged on you don't access the page and see noting except the login
page...
But, for sure it's not applicable to all situation...
The only problem with my design is that I can't byte compile cause I return
from th
I forgot that I had create it [?], here it is :
http://code.google.com/p/web2py/issues/detail?id=382&q=list
Thanks to taking care...
Richard
On Thu, Sep 8, 2011 at 11:51 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Please open a ticket.
>
> On Sep 8, 8:57 am, Richard Vézina wr
Drop the table... and recreate it... Use pgAdmin or erase your db model
reload your app... paste your model reload...
Don't need fake migrate just migrate true...
Richard
On Thu, Sep 8, 2011 at 1:36 PM, Eric wrote:
> I'm running web2py on PostGreSQL. I accidentally created a model that
> spe
hello i´m testing ajax auto completion example as said in the book
it works fine
Now i want to return not the months for the user to select but an image
because i´m testing graphviz dot language!
the user writes for example
a->b
an image is created . It see it in the image in the static folder
t
I'm running web2py on PostGreSQL. I accidentally created a model that
specified a table with column type "double" when I needed "decimal".
Now I'm trying to change it from double to decimal, with no luck. I
deleted all the records, and have used
'migrate=True,fake_migrate=True', and all the varia
perhaps you want something like this?:
form#yourid select {height: 50px;}
2011/9/8 Vineet
> I have posted the code in 'View' file at
>
> http://stackoverflow.com/questions/7343374/web2py-view-height-size-of-a-select-box-in
> So avoiding the reposting of code here.
>
> ---Vineet
>
> On Sep 8, 4
I have posted the code in 'View' file at
http://stackoverflow.com/questions/7343374/web2py-view-height-size-of-a-select-box-in
So avoiding the reposting of code here.
---Vineet
On Sep 8, 4:01 pm, Vineet wrote:
> @Kenneth Lundström, @Martín Mulone,
> I agree that this is an issue related to css s
Remco,
I'm another guy struggling with IIS.
Following the Receipt 2 for ISAPI and I'm lost at 2.3.2. If possible,
can you explain what I should do from here.
So far, virtual directory "ochibaapp" (Renamed it from appname) is
created under "Default Web Site". I have setup junction for C:\w2p
\appl
I came a cross this file and wonder what it does.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
try:
path = os.path.dirname(os.path.abspath(__file__))
except NameError:
path=os.getcwd() # Seems necessary for py2exe
if not path in sys.path:
sys.path.append(path)
does the web2py-adm...@googlegroups.com still exists?
What do they have about the new admin they talked about months ago?
2011/9/8 Massimo Di Pierro
> This is a problem indeed.
>
> Anyway, I think it would be a good idea to have a convention about
> icons representing apps. Listing all the ap
What takes time is not fixing the bugs, it is reading emails and
reproducing the errors.
If your email is short and to the point and contains enough code that
runs out of the box and reproduces the bug, it is easy to fix.
This was the case.
massimo
On Sep 8, 9:41 am, Jim Steil wrote:
> Fixed - T
Running web2py under CGI will result in more headaches then running is
in proxy mode.
On Sep 8, 9:07 am, Michele Comitini
wrote:
> Freak,
>
> which one?
> a) you want to run CGI inside web2py?
> b) you want to run web2py as CGI?
>
> mic
>
> 2011/9/8 stefaan :
>
>
>
>
>
>
>
> >> web2py provides a
Please open a ticket.
On Sep 8, 8:57 am, Richard Vézina wrote:
> PING
>
> Richard
>
> On Wed, Aug 17, 2011 at 4:43 PM, Richard Vézina
>
>
>
>
>
>
> > wrote:
> > Ok, forget notice, I think, I just should use something like this :
>
> > db.table2.linked_self.requires=\
> > IS_EMPTY_OR(IS_IN_DB
This is a problem indeed.
Anyway, I think it would be a good idea to have a convention about
icons representing apps. Listing all the apps publicly does not belong
in welcome and it is a security hazard. there could be a public page
in admin that does that and admin can be disabled anyway.
On Sep
Thank you, all. Web2Py books has been really helpful in understanding
this generics feature.
On Aug 30, 3:36 pm, pbreit wrote:
> If you only use generics during development (good practice), put this in
> db.py or another model file:
>
> response.generic_patterns = ['*'] if request.is_local else [
No.
On Sep 8, 2:07 am, Noel Villamor wrote:
> I am aware about:
> tblAlias = db.mytbl.with_alias('tblAlias')
>
> Is there a similar thing that we can use for fields in select()?
> As in:
> ... .select( db.mytbl.id, db.mytbl.id*2 as fld2)
And congratulations again to all users and contributors!
On Sep 8, 2:01 am, Mike Veltman wrote:
> I dont know if someone else already mentioned it. But web2py is in the Bossie
> awards. ;-)
>
> Congrats
>
> http://www.infoworld.com/d/open-source-software/bossie-awards-2011-th...
> open-source-sof
Another good news!
http://www.infoworld.com/d/open-source-software/bossie-awards-2011-the-best-open-source-application-development-software-171759-0¤t=10&last=1#slideshowTop
On Sep 8, 2:01 am, Mike Veltman wrote:
> I dont know if someone else already mentioned it. But web2py is in the Bossie
> a
>From the sqlite site:
SQLite uses POSIX advisory locks to implement locking on Unix. On
Windows it uses the LockFile(), LockFileEx(), and UnlockFile()
system calls. SQLite assumes that these system calls all work as
advertised. If that is not the case, then database corruption can
result. One sh
I'm as eager to know as you are.
So i tried a few things and found the following to work, though
not as they way you'd like it to work:
- [start service snippet]
@service.soap('GetQuote1', returns={'result':{'c':[{'c':float}],'b':
{'name':str,'value':str}}}, args={'symbol':str})
def stock_quo
Fixed - Thanks Massimo, that was fast!
-Jim
http://code.google.com/p/web2py/issues/detail?id=412
On 9/7/2011 4:30 PM, Jim Steil wrote:
Submitted - http://code.google.com/p/web2py/issues/detail?id=412
-Jim
On 9/7/2011 4:25 PM, Martín Mulone wrote:
I think is a bug, please report it:
How your dict looks like?
http://zerp.ly/rochacbruno
Em 08/09/2011 11:10, "seongjoo" escreveu:
> Hello,
>
> I am using web2py 1.98.2.
>
> The problem is that below instruction fails with error message:
> "TypeError: insert() keywords must be strings"
>
> db.table.insert(**dictionary)
>
> While db
Congratulation!!
This is something members of this group knew already anyway :) Although,
it's great to have recognition on black and white... or in html, for
everybody to see it. ;)
On 8 September 2011 14:37, LightDot wrote:
> Congratulations!
>
> I'm glad to see CakePHP and web2py receive an
Hello,
I am using web2py 1.98.2.
The problem is that below instruction fails with error message:
"TypeError: insert() keywords must be strings"
db.table.insert(**dictionary)
While db(query).update(**dictionary) works find.
For now, I have to use as a workaround as below.
bulk_insert( [diction
Congratulation Massimo and core developpement team...
Richard
On Thu, Sep 8, 2011 at 9:37 AM, LightDot wrote:
> Congratulations!
>
> I'm glad to see CakePHP and web2py receive an award in the same category.
> IMHO, these truly are top frameworks for PHP and python.
>
1 - 100 of 139 matches
Mail list logo